- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for contextmanager (0.5 seconds)
-
fastapi/routing.py
""" Wrap a generator-based lifespan context into an async context manager. This is vendored from Starlette to avoid importing private symbols. """ cmgr = contextlib.contextmanager(lifespan_context) @functools.wraps(cmgr) def wrapper(app: Any) -> _AsyncLiftContextManager[Any]: return _AsyncLiftContextManager(cmgr(app)) return wrapperCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0)