service_man/api/app_builder/main.py

10 lines
152 B
Python
Raw Normal View History

2024-03-31 00:58:43 +03:00
from fastapi import FastAPI
from .routers import init_routers
def app_factory() -> FastAPI:
app = FastAPI()
init_routers(app)
return app