chore: formatting

This commit is contained in:
Inex Code 2024-07-26 18:53:10 +03:00
parent dc64ce1cfa
commit 760e5137a5
2 changed files with 12 additions and 2 deletions

View file

@ -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,
),
) )
) )
) )

View file

@ -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