- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 1,224 for Items (0.11 sec)
-
docs_src/schema_extra_example/tutorial001_pv1_py39.py
"description": "A very nice Item", "price": 35.4, "tax": 3.2, } ] } @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 672 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial003_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 692 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig_details.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/stemmeroverride/admin_dict_stemmeroverride.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_details.jsp
<c:forEach var="l" varStatus="s" items="${labelTypeItems}"> <c:forEach var="ltid" varStatus="s" items="${labelTypeIds}"> <c:if test="${ltid==l.id}">Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 10.7K bytes - Viewed (0) -
docs/zh/docs/advanced/dataclasses.md
2. 使用 `pydantic.dataclasses` 直接替换 `dataclasses`; 3. `Author` 数据类包含 `Item` 数据类列表; 4. `Author` 数据类用于 `response_model` 参数; 5. 其它带有数据类的标准类型注解也可以作为请求体; 本例使用的是 `Item` 数据类列表; 6. 这行代码返回的是包含 `items` 的字典,`items` 是数据类列表; FastAPI 仍能把数据<abbr title="把数据转换为可以传输的格式">序列化</abbr>为 JSON; 7. 这行代码中,`response_model` 的类型注解是 `Author` 数据类列表; 再一次,可以把 `dataclasses` 与标准类型注解一起使用; 8. 注意,*路径操作函数*使用的是普通函数,不是异步函数;Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/en/docs/python-types.md
/// That means: "the variable `items` is a `list`, and each of the items in this list is a `str`". By doing that, your editor can provide support even while processing items from the list: <img src="/img/python-types/image05.png"> Without types, that's almost impossible to achieve. Notice that the variable `item` is one of the elements in the list `items`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.6K bytes - Viewed (0) -
docs_src/body_fields/tutorial001_py310.py
default=None, title="The description of the item", max_length=300 ) price: float = Field(gt=0, description="The price must be greater than zero") tax: float | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item = Body(embed=True)): results = {"item_id": item_id, "item": item}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 523 bytes - Viewed (0) -
docs_src/dependencies/tutorial006_py39.py
async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)]) async def read_items():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 583 bytes - Viewed (0)