Skip to main content

main

exp.arolariu.ro FastAPI service exposing configuration proxy endpoints.

lifespan

@asynccontextmanager
async def lifespan(_app: FastAPI) -> AsyncIterator[None]

Prime the in-memory configuration snapshot during application startup.

attach_request_context

@app.middleware("http")
async def attach_request_context(
request: Request,
call_next: Callable[[Request], Awaitable[Response]]) -> Response

Attach request metadata headers and log request execution details.

// was this page useful?