# contains the router for the aggregate endpoint from fastapi import APIRouter from .schema import ExampleSchema router = APIRouter(tags=["aggregate"]) @router.get("/example") async def example_endpoint() -> ExampleSchema: return ExampleSchema(example_field="foo", another_field=42)