feat: add GET /aggregates
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from src.service import load_config
|
||||
from fastapi import FastAPI
|
||||
import logging
|
||||
from src.example import aggregate_router
|
||||
|
||||
logger = logging.getLogger("uvicorn")
|
||||
|
||||
@@ -8,7 +9,7 @@ logger.info("Starting application")
|
||||
config = load_config()
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
app.include_router(aggregate_router)
|
||||
|
||||
@app.get("/")
|
||||
async def main():
|
||||
|
||||
Reference in New Issue
Block a user