From 40af67d0459b1dec8383fe64d438b0952f78d171 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 1 Nov 2023 09:55:39 -0300 Subject: [PATCH] Run pre-commit --- gateway/src/api/main.py | 5 ++--- gateway/src/api/routes/health.py | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gateway/src/api/main.py b/gateway/src/api/main.py index ddb44ea..5783881 100644 --- a/gateway/src/api/main.py +++ b/gateway/src/api/main.py @@ -1,12 +1,11 @@ +import logging + from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from src.api.routes import (auth, flights, health, notifications, subscriptions, users) -import logging - - logging.config.fileConfig('logging.conf', disable_existing_loggers=False) app = FastAPI(title="Flights Information API") diff --git a/gateway/src/api/routes/health.py b/gateway/src/api/routes/health.py index 350f864..f72faaa 100644 --- a/gateway/src/api/routes/health.py +++ b/gateway/src/api/routes/health.py @@ -1,7 +1,8 @@ -from fastapi import APIRouter - # from src.api.main import my_logger import logging + +from fastapi import APIRouter + # from sys import stdout my_logger = logging.getLogger(__name__)