from fastapi import FastAPI from .routers import init_routers def app_factory() -> FastAPI: app = FastAPI() init_routers(app) return app