mirror of
https://github.com/logos-blockchain/logos-blockchain-block-explorer-template.git
synced 2026-01-05 06:33:08 +00:00
12 lines
236 B
Python
12 lines
236 B
Python
from fastapi import FastAPI
|
|
|
|
from core.app import NBE
|
|
from lifespan import lifespan
|
|
from router import create_router
|
|
|
|
|
|
def create_app() -> FastAPI:
|
|
app = NBE(lifespan=lifespan)
|
|
app.include_router(create_router())
|
|
return app
|