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 4e6e823 commit b6ec0c7Copy full SHA for b6ec0c7
app/main.py
@@ -18,7 +18,7 @@
18
from .models.latest import LatestResponse as Latest
19
from .models.location import LocationResponse as Location
20
from .models.location import LocationsResponse as Locations
21
-from .router.v2 import router
+from .router.v2 import router as v2router
22
23
# ############
24
# FastAPI App
@@ -84,7 +84,7 @@ async def handle_validation_error(request: Request, exc: pydantic.error_wrappers
84
85
# Include routers.
86
# APP.include_router(router, prefix="/", tags=["v1"])
87
-APP.include_router(router, prefix="/v2", tags=["v2"])
+APP.include_router(v2router, prefix="/v2", tags=["v2"])
88
89
# mount the existing Flask app
90
# v1 @ /
0 commit comments