Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for merged_lifespan (0.05 sec)

  1. fastapi/routing.py

        return app
    
    
    def _merge_lifespan_context(
        original_context: Lifespan[Any], nested_context: Lifespan[Any]
    ) -> Lifespan[Any]:
        @asynccontextmanager
        async def merged_lifespan(
            app: AppType,
        ) -> AsyncIterator[Optional[Mapping[str, Any]]]:
            async with original_context(app) as maybe_original_state:
                async with nested_context(app) as maybe_nested_state:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top