- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for _extract_endpoint_context (0.12 seconds)
-
fastapi/routing.py
return merged_lifespan # type: ignore[return-value] # Cache for endpoint context to avoid re-extracting on every request _endpoint_context_cache: dict[int, EndpointContext] = {} def _extract_endpoint_context(func: Any) -> EndpointContext: """Extract endpoint context with caching to avoid repeated file I/O.""" func_id = id(func) if func_id in _endpoint_context_cache:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0)