Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 23, 2024
1 parent 00443ec commit 60c8557
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions api/internal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# __init__.py

# nothing to see here
# (store package-level variables here if needed)
from .logger_init import logger_init
from .check_env_vars import check_env_vars
from .set_log_level import set_log_level

6 changes: 3 additions & 3 deletions api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from fastapi import FastAPI
import logging

from .internal import logger_init, check_env_vars, set_log_level
from .routers import configuration
from internal import logger_init, check_env_vars, set_log_level
from routers import config

logger = logging.getLogger('api')

Expand Down Expand Up @@ -41,7 +41,7 @@
# add REST routes

api.include_router(
configuration.router,
config.router,
responses={418: {"description": "I'm a teapot"}},
)
logger.debug('config_router added')
Expand Down

0 comments on commit 60c8557

Please sign in to comment.