MCPcopy
hub / github.com/fastapi/fastapi / _get_scope_effective_route_context

Function _get_scope_effective_route_context

fastapi/routing.py:875–876  ·  view source on GitHub ↗
(scope: Scope)

Source from the content-addressed store, hash-verified

873
874
875def _get_scope_effective_route_context(scope: Scope) -> Any | None:
876 return scope.get(_FASTAPI_SCOPE_KEY, {}).get(_FASTAPI_EFFECTIVE_ROUTE_CONTEXT_KEY)
877
878
879def _get_scope_included_router(scope: Scope) -> Any | None:

Callers 3

matchesMethod · 0.85
handleMethod · 0.85
handleMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…