MCPcopy
hub / github.com/fastapi/fastapi / _get_fastapi_scope

Function _get_fastapi_scope

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

Source from the content-addressed store, hash-verified

858
859
860def _get_fastapi_scope(scope: Scope) -> dict[str, Any]:
861 fastapi_scope = scope.setdefault(_FASTAPI_SCOPE_KEY, {})
862 assert isinstance(fastapi_scope, dict)
863 return fastapi_scope
864
865
866def _update_scope(scope: Scope, child_scope: Scope) -> None:

Callers 8

_update_scopeFunction · 0.85
_matchMethod · 0.85
matchesMethod · 0.85
handleMethod · 0.85
_handle_selectedMethod · 0.85
get_pathMethod · 0.85
appMethod · 0.85
_match_low_priorityMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…