MCPcopy
hub / github.com/fastapi/fastapi / _get_scope_included_router

Function _get_scope_included_router

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

Source from the content-addressed store, hash-verified

877
878
879def _get_scope_included_router(scope: Scope) -> Any | None:
880 return scope.get(_FASTAPI_SCOPE_KEY, {}).get(_FASTAPI_INCLUDED_ROUTER_KEY)
881
882
883def _frontend_scope_specificity(scope: Scope) -> int | None:

Callers 2

handleMethod · 0.85
matchesMethod · 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…