- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 838 for ITEM (0.21 sec)
-
src/main/webapp/WEB-INF/view/admin/systeminfo/admin_systeminfo.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 4.7K bytes - Viewed (0) -
docs_src/response_model/tutorial001_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: list[str] = [] @app.post("/items/", response_model=Item) async def create_item(item: Item) -> Any: return item @app.get("/items/", response_model=list[Item]) async def read_items() -> Any: return [
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 537 bytes - Viewed (0) -
docs/fr/docs/tutorial/body-multiple-params.md
} } ``` /// note "Notez que, bien que nous ayons déclaré le paramètre `item` de la même manière que précédemment, il est maintenant associé à la clé `item` dans le corps de la requête."`. /// **FastAPI** effectue la conversion de la requête de façon transparente, de sorte que les objets `item` et `user` se trouvent correctement définis.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 11:10:17 UTC 2024 - 5.6K bytes - Viewed (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,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jul 01 16:43:29 UTC 2023 - 786 bytes - Viewed (0) -
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",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jul 01 16:43:29 UTC 2023 - 917 bytes - Viewed (0) -
docs/uk/docs/tutorial/body-multiple-params.md
Припустимо, у вас є лише один параметр тіла запиту `item` з моделі Pydantic `Item`. За замовчуванням **FastAPI** очікуватиме, що тіло запиту міститиме вміст безпосередньо. Але якщо Ви хочете, щоб він очікував JSON з ключем `item`, а всередині — вміст моделі (так, як це відбувається при оголошенні додаткових параметрів тіла), Ви можете використати спеціальний параметр `Body` — `embed`: ```Python item: Item = Body(embed=True) ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Feb 28 14:19:00 UTC 2025 - 7.4K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/xml/test_utf8bom.xml
<address xmlns:hoge="http://www.example.com/hoge"> <item sex="male" custid="A12345"> <name>鈴木太郎</name> <access kind="email"></access> <access kind="url">http://www.taro.com/</access> <image file="taro.png" /> </item> <item sex="male" custid="B23456"> <name>佐藤二朗</name> <access kind="email">******@****.***</access>Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Aug 01 02:48:58 UTC 2018 - 729 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py
"tags": [], "tax": None, }, ] def test_create_item(client: TestClient): item_data = { "name": "Test Item", "description": "A test item", "price": 10.5, "tax": 1.5, "tags": ["test", "item"], } response = client.post("/items/", json=item_data) assert response.status_code == 200, response.text assert response.json() == item_data
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.5K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
}, "summary": "Create an item", "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item", "operationId": "create_item_items__post",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 5K bytes - Viewed (0) -
docs_src/additional_status_codes/tutorial001_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 684 bytes - Viewed (0)