- Sort Score
- Result 10 results
- Languages All
Results 1231 - 1240 of 1,638 for item1 (0.02 sec)
-
docs/zh/docs/tutorial/body.md
```Python hl_lines="18" {!> ../../docs_src/body/tutorial001.py!} ``` //// ……此处,请求体参数的类型为 `Item` 模型。 ## 结论 仅使用 Python 类型声明,**FastAPI** 就可以: * 以 JSON 形式读取请求体 * (在必要时)把请求体转换为对应的类型 * 校验数据: * 数据无效时返回错误信息,并指出错误数据的确切位置和内容 * 把接收的数据赋值给参数 `item` * 把函数中请求体参数的类型声明为 `Item`,还能获得代码补全等编辑器支持 * 为模型生成 <a href="https://json-schema.org" class="external-link" target="_blank">JSON Schema</a>,在项目中所需的位置使用
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/body.md
* Entregar a você a informação recebida no parâmetro `item`. * Como você o declarou na função como do tipo `Item`, você também terá o suporte do editor (completação, etc) para todos os atributos e seus tipos.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.1K bytes - Viewed (0) -
docs/em/docs/tutorial/body-updates.md
✋️ 👉 🦮 🎦 👆, 🌖 ⚖️ 🌘, ❔ 👫 🎯 ⚙️. /// ### ⚙️ Pydantic `exclude_unset` 🔢 🚥 👆 💚 📨 🍕 ℹ, ⚫️ 📶 ⚠ ⚙️ 🔢 `exclude_unset` Pydantic 🏷 `.dict()`. 💖 `item.dict(exclude_unset=True)`. 👈 🔜 🏗 `dict` ⏮️ 🕴 💽 👈 ⚒ 🕐❔ 🏗 `item` 🏷, 🚫 🔢 💲. ⤴️ 👆 💪 ⚙️ 👉 🏗 `dict` ⏮️ 🕴 💽 👈 ⚒ (📨 📨), 🚫 🔢 💲: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="34" {!> ../../docs_src/body_updates/tutorial002.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-updates.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.2K bytes - Viewed (0) -
internal/s3select/csv/reader.go
if r.err != nil { return nil, r.err } // Move to next block item, ok := <-r.queue if !ok { r.err = io.EOF return nil, r.err } //nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer. r.csvDstPool.Put(r.current) r.current = <-item.dst r.err = item.err r.recordsRead = 0 } csvRecord := r.current[r.recordsRead]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
common-protos/k8s.io/api/events/v1beta1/generated.proto
// +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // items is a list of schema objects. repeated Event items = 2; } // EventSeries contain information on series of events, i.e. thing that was/is happening // continuously for some time. message EventSeries {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/es/docs/tutorial/first-steps.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.9K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
#### Chemin Chemin, ou "path" fait référence ici à la dernière partie de l'URL démarrant au premier `/`. Donc, dans un URL tel que : ``` https://example.com/items/foo ``` ...le "path" serait : ``` /items/foo ``` /// info Un chemin, ou "path" est aussi souvent appelé route ou "endpoint". /// #### Opération
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
```Python hl_lines="3 5" { "name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2 } ``` they will be included in the response. #### Data with the same values as the defaults If the data has the same values as the default ones, like the item with ID `baz`: ```Python hl_lines="3 5-6" {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.1K bytes - Viewed (0)