MCPcopy
hub / github.com/fastapi/fastapi / get_callable_dependency

Function get_callable_dependency

tests/test_dependency_class.py:80–81  ·  view source on GitHub ↗
(value: str = Depends(callable_dependency))

Source from the content-addressed store, hash-verified

78
79@app.get("/callable-dependency")
80async def get_callable_dependency(value: str = Depends(callable_dependency)):
81 return value
82
83
84@app.get("/callable-gen-dependency")

Callers

nothing calls this directly

Calls 1

DependsClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…