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

Function default

tests/test_annotated.py:12–13  ·  view source on GitHub ↗
(foo: Annotated[str, Query()] = "foo")

Source from the content-addressed store, hash-verified

10
11@app.get("/default")
12async def default(foo: Annotated[str, Query()] = "foo"):
13 return {"foo": foo}
14
15
16@app.get("/required")

Callers

nothing calls this directly

Calls 1

QueryClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…