update_item() — fastapi Function Reference
Architecture documentation for the update_item() function in tutorial003_py310.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD f545e3b2_7652_06fb_a5d5_2dab5b5a54aa["update_item()"] ce1480ac_a33a_503c_d8e1_578692e0ce0c["tutorial003_py310.py"] f545e3b2_7652_06fb_a5d5_2dab5b5a54aa -->|defined in| ce1480ac_a33a_503c_d8e1_578692e0ce0c style f545e3b2_7652_06fb_a5d5_2dab5b5a54aa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
docs_src/schema_extra_example/tutorial003_py310.py lines 15–29
async def update_item(
item_id: int,
item: Item = Body(
examples=[
{
"name": "Foo",
"description": "A very nice Item",
"price": 35.4,
"tax": 3.2,
}
],
),
):
results = {"item_id": item_id, "item": item}
return results
Domain
Subdomains
Source
Frequently Asked Questions
What does update_item() do?
update_item() is a function in the fastapi codebase, defined in docs_src/schema_extra_example/tutorial003_py310.py.
Where is update_item() defined?
update_item() is defined in docs_src/schema_extra_example/tutorial003_py310.py at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free