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