MCPcopy
hub / github.com/fastapi/fastapi / get_async_callable_gen_dependency_class

Function get_async_callable_gen_dependency_class

tests/test_dependency_class.py:73–76  ·  view source on GitHub ↗
(
    value: str, instance: AsyncCallableGenDependency = Depends()
)

Source from the content-addressed store, hash-verified

71
72@app.get("/async-callable-gen-dependency-class")
73async def get_async_callable_gen_dependency_class(
74 value: str, instance: AsyncCallableGenDependency = Depends()
75):
76 return await instance(value).__anext__()
77
78
79@app.get("/callable-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…