- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AsyncExitStack (0.16 sec)
-
fastapi/middleware/asyncexitstack.py
from contextlib import AsyncExitStack from starlette.types import ASGIApp, Receive, Scope, Send # Used mainly to close files after the request is done, dependencies are closed # in their own AsyncExitStack class AsyncExitStackMiddleware: def __init__( self, app: ASGIApp, context_name: str = "fastapi_middleware_astack" ) -> None: self.app = app self.context_name = context_nameRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 637 bytes - Viewed (0)