MCPcopy
hub / github.com/fastapi/fastapi / call

Function call

tests/test_stringified_annotations_simple.py:23–24  ·  view source on GitHub ↗
(test: Annotated[str, Depends(Dep())])

Source from the content-addressed store, hash-verified

21
22 @app.get("/test/")
23 def call(test: Annotated[str, Depends(Dep())]):
24 return {"test": test}
25
26 response = client.get("/test")
27 assert response.status_code == 200

Callers 1

solve_dependenciesFunction · 0.85

Calls 2

DependsClass · 0.90
DepClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…