Skip to content

Commit

Permalink
path tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 16, 2024
1 parent 15530c8 commit 7ef0019
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# __init__.py

# nothing to see here
# (store package-level variables here if needed)
# (store package-level variables here if needed)
2 changes: 1 addition & 1 deletion api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from fastapi import FastAPI
import uvicorn

from tooling import check_env_vars, set_log_level, logger
from .tooling import check_env_vars, set_log_level, logger
from routers.configuration.operations import init_router as init_configuration_router
from routers.database.operations import init_router as init_database_router
from routers.internal.operations import init_router as init_swissarmy_router
Expand Down
6 changes: 3 additions & 3 deletions api/routers/configuration/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from api.tooling.logger_init import logger
from fastapi import APIRouter

from api.routers.configuration.get import get_config
from api.routers.configuration.put import put_config
from api.routers.configuration.delete import delete_config
from .get import get_config
from .put import put_config
from .delete import delete_config

def init_router():

Expand Down
6 changes: 3 additions & 3 deletions api/tooling/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# __init__.py

from api.tooling.check_env_vars import check_env_vars
from api.tooling.set_log_level import set_log_level
from api.tooling.logger_init import logger_init
from .check_env_vars import check_env_vars
from .set_log_level import set_log_level
from .logger_init import logger_init

0 comments on commit 7ef0019

Please sign in to comment.