We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c7e4ae commit 92a9cb7Copy full SHA for 92a9cb7
app/main.py
@@ -15,7 +15,7 @@
15
16
from .config import get_settings
17
from .data import data_source
18
-from .routers import V1, V2
+from .routers import Version_1, Version_2
19
from .utils.httputils import setup_client_session, teardown_client_session
20
21
# ############
@@ -110,8 +110,8 @@ async def handle_validation_error(
110
111
112
# Include routers.
113
-APP.include_router(V1, prefix="", tags=["v1"])
114
-APP.include_router(V2, prefix="/v2", tags=["v2"])
+APP.include_router(Version_1, prefix="", tags=["v1"])
+APP.include_router(Version_2, prefix="/v2", tags=["v2"])
115
116
117
# Running of app.
0 commit comments