From 760e5137a5369954e4f43d80e3860ff4c2ef450f Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 26 Jul 2024 18:53:10 +0300 Subject: [PATCH] chore: formatting --- selfprivacy_api/graphql/queries/logs.py | 8 +++++++- selfprivacy_api/graphql/queries/monitoring.py | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/selfprivacy_api/graphql/queries/logs.py b/selfprivacy_api/graphql/queries/logs.py index 4f76115..11861ec 100644 --- a/selfprivacy_api/graphql/queries/logs.py +++ b/selfprivacy_api/graphql/queries/logs.py @@ -86,7 +86,13 @@ class Logs: list( map( lambda x: LogEntry(x), - get_paginated_logs(limit, up_cursor, down_cursor, filterBySlice, filterByUnit), + get_paginated_logs( + limit, + up_cursor, + down_cursor, + filterBySlice, + filterByUnit, + ), ) ) ) diff --git a/selfprivacy_api/graphql/queries/monitoring.py b/selfprivacy_api/graphql/queries/monitoring.py index eab43b6..b5dae8f 100644 --- a/selfprivacy_api/graphql/queries/monitoring.py +++ b/selfprivacy_api/graphql/queries/monitoring.py @@ -3,7 +3,11 @@ from typing import Optional from datetime import datetime from selfprivacy_api.models.services import ServiceStatus 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