10 lines
152 B
Python
10 lines
152 B
Python
|
from fastapi import FastAPI
|
||
|
|
||
|
from .routers import init_routers
|
||
|
|
||
|
|
||
|
def app_factory() -> FastAPI:
|
||
|
app = FastAPI()
|
||
|
init_routers(app)
|
||
|
return app
|