MCPcopy
hub / github.com/fastapi/fastapi / get_item

Function get_item

tests/test_ambiguous_params.py:17–18  ·  view source on GitHub ↗
(item_id: Annotated[int, Path(default=1)])

Source from the content-addressed store, hash-verified

15
16 @app.get("/items/{item_id}/")
17 async def get_item(item_id: Annotated[int, Path(default=1)]):
18 pass # pragma: nocover
19
20 with pytest.raises(
21 AssertionError,

Callers

nothing calls this directly

Calls 1

PathClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…