Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for _wrap_gen_lifespan_context (0.32 seconds)

  1. fastapi/routing.py

        ) -> bool | None:
            return self._cm.__exit__(exc_type, exc_value, traceback)
    
    
    # Vendored from starlette.routing to avoid importing private symbols
    def _wrap_gen_lifespan_context(
        lifespan_context: Callable[[Any], Generator[Any, Any, Any]],
    ) -> Callable[[Any], AbstractAsyncContextManager[Any]]:
        """
        Wrap a generator-based lifespan context into an async context manager.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top