- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 445 for item_1 (0.04 seconds)
-
docs_src/body_multiple_params/tutorial003_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, user: User, importance: int = Body()): results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 504 bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial003_an_py310.py
from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( item_id: int, item: Annotated[ Item, Body( examples=[ { "name": "Foo",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 673 bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial004_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( examples=[ { "name": "Foo", "description": "A very nice Item", "price": 35.4,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 786 bytes - Click Count (0) -
tests/test_path.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
docs_src/schema_extra_example/tutorial004_an_py310.py
from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Annotated[ Item, Body( examples=[ { "name": "Foo",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 917 bytes - Click Count (0) -
docs/tr/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool | None = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 23.2K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial002_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 276 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial006c_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 15 16:23:59 GMT 2025 - 301 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial003_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 330 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial009_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 314 bytes - Click Count (0)