Files
taiji-AI-PAD/services/data-ingestion/app/routes/__init__.py
T
2025-12-24 11:03:53 +00:00

20 lines
481 B
Python

"""Route registration for the data-ingestion service."""
from fastapi import FastAPI
from . import apillama, health, metrics, openapi, rapidapi, stats, tools
def register_routes(app: FastAPI) -> None:
"""Attach all routers to the FastAPI app."""
for router in (
health.router,
rapidapi.router,
openapi.router,
apillama.router,
tools.router,
stats.router,
metrics.router,
):
app.include_router(router)