DFiP_Budget_planing/api/run_server.py
2026-04-16 11:52:18 +03:00

12 lines
235 B
Python

import uvicorn
from src import app, get_settings
if __name__ == "__main__":
settings = get_settings()
uvicorn.run(
app,
host=settings.server.HOST,
port=settings.server.PORT,
lifespan="on"
)