update_item() — fastapi Function Reference
Architecture documentation for the update_item() function in tutorial003_py39.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 91bffb66_c821_6e22_75e2_4561c11b26eb["update_item()"] 0205604d_4f99_a169_9054_75436421d437["tutorial003_py39.py"] 91bffb66_c821_6e22_75e2_4561c11b26eb -->|defined in| 0205604d_4f99_a169_9054_75436421d437 style 91bffb66_c821_6e22_75e2_4561c11b26eb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
docs_src/schema_extra_example/tutorial003_py39.py lines 17–31
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_py39.py.
Where is update_item() defined?
update_item() is defined in docs_src/schema_extra_example/tutorial003_py39.py at line 17.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free