Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _merge_lifespan_context (0.44 sec)

  1. fastapi/routing.py

                )
                for k, v in res.items()
            }
        elif dataclasses.is_dataclass(res):
            return dataclasses.asdict(res)
        return res
    
    
    def _merge_lifespan_context(
        original_context: Lifespan[Any], nested_context: Lifespan[Any]
    ) -> Lifespan[Any]:
        @asynccontextmanager
        async def merged_lifespan(
            app: AppType,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
Back to top