generated from hjess/PythonTemplateProject
Sync
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 30s
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 30s
This commit is contained in:
@@ -38,10 +38,13 @@ class Application:
|
||||
def _include_routers(self):
|
||||
"""Include all route controllers."""
|
||||
category_controller = CategoryController()
|
||||
dynamic_controller = DynamicController("./data")
|
||||
dynamic_controller = DynamicController( "./data" )
|
||||
|
||||
|
||||
self.app.include_router( category_controller.router )
|
||||
self.app.include_router( dynamic_controller.router )
|
||||
|
||||
|
||||
self.app.include_router(category_controller.router)
|
||||
self.app.include_router(dynamic_controller.router)
|
||||
|
||||
def get_app(self):
|
||||
"""Return the FastAPI app instance."""
|
||||
|
||||
Reference in New Issue
Block a user