MCPcopy
hub / github.com/fastapi/fastapi / get_callable_dependency_class

Function get_callable_dependency_class

tests/test_dependency_class.py:52–55  ·  view source on GitHub ↗
(
    value: str, instance: CallableDependency = Depends()
)

Source from the content-addressed store, hash-verified

50
51@app.get("/callable-dependency-class")
52async def get_callable_dependency_class(
53 value: str, instance: CallableDependency = Depends()
54):
55 return instance(value)
56
57
58@app.get("/callable-gen-dependency-class")

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…