mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 13:31:27 +00:00
fix: imports
This commit is contained in:
parent
a6284d3d1c
commit
f7fef181cd
|
@ -3,8 +3,8 @@
|
|||
# pylint: disable=too-few-public-methods
|
||||
import time
|
||||
import requests
|
||||
|
||||
from typing import Optional
|
||||
from typing import Optional, Dict
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
PROMETHEUS_URL = "http://localhost:9001"
|
||||
|
||||
|
@ -13,7 +13,7 @@ class PrometheusInfo:
|
|||
""" """
|
||||
|
||||
http_response: int
|
||||
output: Optional[typing.Dict] = None
|
||||
output: Optional[Dict] = None
|
||||
error: Optional[str] = None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue