- Sort Score
- Num 10 results
- Language All
Results 1021 - 1030 of 1,479 for item5 (0.02 seconds)
-
docs/zh-hant/docs/tutorial/body-nested-models.md
/// ## 深度巢狀模型 { #deeply-nested-models } 你可以定義任意深度的巢狀模型: {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *} /// info 請注意,`Offer` 具有一個 `Item` 的列表,而每個 `Item` 又有一個可選的 `Image` 列表。 /// ## 純列表的本文 { #bodies-of-pure-lists } 如果你期望的 JSON 本文頂層值是一個 JSON `array`(Python 的 `list`),可以像在 Pydantic 模型中那樣,直接在函式參數上宣告其型別: ```Python images: list[Image] ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/body-updates.md
但本指南会大致展示它们的预期用法。 /// ### 使用 Pydantic 的 `exclude_unset` 参数 { #using-pydantics-exclude-unset-parameter } 如果要接收部分更新,建议在 Pydantic 模型的 `.model_dump()` 中使用 `exclude_unset` 参数。 比如,`item.model_dump(exclude_unset=True)`。 这会生成一个 `dict`,只包含创建 `item` 模型时显式设置的数据,不包含默认值。 然后再用它生成一个只含已设置(在请求中发送)数据、且省略默认值的 `dict`: {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-param-models.md
Наприклад, якщо клієнт спробує надіслати параметр запиту `tool` зі значенням `plumbus`, як у цьому запиті: ```http https://example.com/items/?limit=10&tool=plumbus ``` Він отримає відповідь з **помилкою**, яка повідомить, що параметр запиту `tool` не дозволено: ```json { "detail": [ { "type": "extra_forbidden",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:42:01 GMT 2026 - 3.4K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
} else if (value instanceof List<?> list) { for (Object item : list) { if (item != null) { String itemName = getSingular(field.getName()); processModelNode(item, fullPath + "/" + itemName, itemName, visited); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/dict/admin_dict.jsp
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 4K bytes - Click Count (0) -
docs/fr/docs/deployment/docker.md
``` </div> ## Vérifier { #check-it } Vous devriez pouvoir le vérifier via l'URL de votre conteneur Docker, par exemple : [http://192.168.99.100/items/5?q=somequery](http://192.168.99.100/items/5?q=somequery) ou [http://127.0.0.1/items/5?q=somequery](http://127.0.0.1/items/5?q=somequery) (ou équivalent, en utilisant votre hôte Docker). Vous verrez quelque chose comme : ```JSON {"item_id": 5, "q": "somequery"} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 32.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/body-updates.md
但本指南會大致示範它們各自的設計用法。 /// ### 使用 Pydantic 的 `exclude_unset` 參數 { #using-pydantics-exclude-unset-parameter } 如果要接收部分更新,在 Pydantic 模型的 `.model_dump()` 中使用 `exclude_unset` 參數非常實用。 例如 `item.model_dump(exclude_unset=True)`。 這會產生一個只包含建立 `item` 模型時實際設定過之欄位的 `dict`,不含預設值。 接著你可以用它來生成只包含實際設定(請求中傳來)的資料之 `dict`,省略預設值: {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
* for finalName directly in the plugin configuration section. It is also useful to ensure that - for example - a * List-typed parameter which expects items of type Artifact doesn't get a List full of Strings. * * @return <code>true</code> if the user should not be allowed to configure the parameter directly */ boolean readonly() default false;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Click Count (0) -
docs/pt/docs/advanced/openapi-webhooks.md
O objeto `app.webhooks` é na verdade apenas um `APIRouter`, o mesmo tipo que você utilizaria ao estruturar a sua aplicação com diversos arquivos. /// Note que utilizando webhooks você não está de fato declarando um *path* (como `/items/`), o texto que informa é apenas um **identificador** do webhook (o nome do evento), por exemplo em `@app.webhooks.post("new-subscription")`, o nome do webhook é `new-subscription`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
} return entity; }); } /** * Creates a label/value map item for dropdowns or list displays. * * @param label the display label for the item * @param value the value associated with the item * @return a map containing the label and value entries */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0)