MCPcopy
hub / github.com/fastapi/fastapi / Depends

Class Depends

fastapi/params.py:746–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744
745@dataclass(frozen=True)
746class Depends:
747 dependency: Callable[..., Any] | None = None
748 use_cache: bool = True
749 scope: Literal["function", "request"] | None = None
750
751
752@dataclass(frozen=True)

Callers 15

read_current_userFunction · 0.90
get_current_userFunction · 0.90
get_current_active_userFunction · 0.90
loginFunction · 0.90
read_users_meFunction · 0.90
get_current_usernameFunction · 0.90
read_current_userFunction · 0.90
read_itemsFunction · 0.90
get_current_userFunction · 0.90
get_current_active_userFunction · 0.90
login_for_access_tokenFunction · 0.90
read_users_meFunction · 0.90

Calls

no outgoing calls

Tested by 15

get_something_elseFunction · 0.72
get_depsFunction · 0.72
endpointFunction · 0.72
second_modifierFunction · 0.72
get_callable_dependencyFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…