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

Function update_item

docs_src/body_multiple_params/tutorial005_py310.py:15–17  ·  view source on GitHub ↗
(item_id: int, item: Item = Body(embed=True))

Source from the content-addressed store, hash-verified

13
14@app.put("/items/{item_id}")
15async def update_item(item_id: int, item: Item = Body(embed=True)):
16 results = {"item_id": item_id, "item": item}
17 return results

Callers

nothing calls this directly

Calls 1

BodyClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…