MCPcopy
hub / github.com/fastapi/fastapi / get_async_callable_dependency_class

Function get_async_callable_dependency_class

tests/test_dependency_class.py:66–69  ·  view source on GitHub ↗
(
    value: str, instance: AsyncCallableDependency = Depends()
)

Source from the content-addressed store, hash-verified

64
65@app.get("/async-callable-dependency-class")
66async def get_async_callable_dependency_class(
67 value: str, instance: AsyncCallableDependency = Depends()
68):
69 return await instance(value)
70
71
72@app.get("/async-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…