Some checks failed
Run linters on applied template / Python 3.13 lint and build (push) Failing after 42s
This is a FastAPI backend microservice template used with `copier` utility. Features of applied template are: - Configuration file processing logic - Metrics and tracing (both optional) configuration available - Debug endpoints - Database migration commands, prepared Alembic environment - Database usage example in ping_db endpoint - gitea sanity check pipeline
19 lines
354 B
Python
19 lines
354 B
Python
"""API routers are defined here.
|
|
|
|
It is needed to import files which use these routers to initialize handlers.
|
|
"""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
system_router = APIRouter(tags=["system"])
|
|
debug_errors_router = APIRouter(tags=["debug"], prefix="/debug")
|
|
|
|
routers_list = [
|
|
system_router,
|
|
debug_errors_router,
|
|
]
|
|
|
|
__all__ = [
|
|
"routers_list",
|
|
]
|