MCPcopy Index your code
hub / github.com/fastapi/fastapi / get_callable_gen_dependency_class

Function get_callable_gen_dependency_class

tests/test_dependency_class.py:59–62  ·  view source on GitHub ↗
(
    value: str, instance: CallableGenDependency = Depends()
)

Source from the content-addressed store, hash-verified

57
58@app.get("/callable-gen-dependency-class")
59async def get_callable_gen_dependency_class(
60 value: str, instance: CallableGenDependency = Depends()
61):
62 return next(instance(value))
63
64
65@app.get("/async-callable-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…