mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-29 07:21:27 +00:00
chore: formatting
This commit is contained in:
parent
dc64ce1cfa
commit
760e5137a5
|
@ -86,7 +86,13 @@ class Logs:
|
||||||
list(
|
list(
|
||||||
map(
|
map(
|
||||||
lambda x: LogEntry(x),
|
lambda x: LogEntry(x),
|
||||||
get_paginated_logs(limit, up_cursor, down_cursor, filterBySlice, filterByUnit),
|
get_paginated_logs(
|
||||||
|
limit,
|
||||||
|
up_cursor,
|
||||||
|
down_cursor,
|
||||||
|
filterBySlice,
|
||||||
|
filterByUnit,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,11 @@ from typing import Optional
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from selfprivacy_api.models.services import ServiceStatus
|
from selfprivacy_api.models.services import ServiceStatus
|
||||||
from selfprivacy_api.services.prometheus import Prometheus
|
from selfprivacy_api.services.prometheus import Prometheus
|
||||||
from selfprivacy_api.utils.monitoring import MonitoringQueries, MonitoringQueryError, MonitoringResponse
|
from selfprivacy_api.utils.monitoring import (
|
||||||
|
MonitoringQueries,
|
||||||
|
MonitoringQueryError,
|
||||||
|
MonitoringResponse,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@strawberry.type
|
@strawberry.type
|
||||||
|
|
Loading…
Reference in a new issue