Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for nested_context (0.29 seconds)

  1. fastapi/routing.py

    
    def _merge_lifespan_context(
        original_context: Lifespan[Any], nested_context: Lifespan[Any]
    ) -> Lifespan[Any]:
        @asynccontextmanager
        async def merged_lifespan(
            app: AppType,
        ) -> AsyncIterator[Mapping[str, Any] | None]:
            async with original_context(app) as maybe_original_state:
                async with nested_context(app) as maybe_nested_state:
    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