- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 130 for 35 (0.17 sec)
-
docs/de/docs/advanced/openapi-callbacks.md
Verwenden Sie nun den Parameter `callbacks` im *Pfadoperation-Dekorator Ihrer API*, um das Attribut `.routes` (das ist eigentlich nur eine `list`e von Routen/*Pfadoperationen*) dieses Callback-Routers zu übergeben: ```Python hl_lines="35" {!../../docs_src/openapi_callbacks/tutorial001.py!} ``` /// tip | "Tipp"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-updates.md
{!../../docs_src/body_updates/tutorial002.py!} ``` ### 使用 Pydantic 的 `update` 参数 接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的 `dict`。 例如,`stored_item_model.copy(update=update_data)`: ```Python hl_lines="35" {!../../docs_src/body_updates/tutorial002.py!} ``` ### 更新部分数据小结 简而言之,更新部分数据应: * 使用 `PATCH` 而不是 `PUT` (可选,也可以用 `PUT`); * 提取存储的数据; * 把数据放入 Pydantic 模型; * 生成不含输入模型默认值的 `dict` (使用 `exclude_unset` 参数);
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
/// #### 기본값이 있는 필드를 갖는 값의 데이터 하지만 모델의 필드가 기본값이 있어도 ID가 `bar`인 항목(items)처럼 데이터가 값을 갖는다면: ```Python hl_lines="3 5" { "name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2 } ``` 응답에 해당 값들이 포함됩니다. #### 기본값과 동일한 값을 갖는 데이터
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
// Browsers use '+' for space. assertThat(formEncode(32)).isEqualTo("+") assertThat(formEncode(33)).isEqualTo("%21") assertThat(formEncode(34)).isEqualTo("%22") assertThat(formEncode(35)).isEqualTo("%23") assertThat(formEncode(36)).isEqualTo("%24") assertThat(formEncode(37)).isEqualTo("%25") assertThat(formEncode(38)).isEqualTo("%26") assertThat(formEncode(39)).isEqualTo("%27")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
Zum Beispiel deklariert das obige Modell ein JSON "`object`" (oder Python-`dict`) wie dieses: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` Da `description` und `tax` optional sind (mit `None` als Defaultwert), wäre folgendes JSON "`object`" auch gültig: ```JSON { "name": "Foo", "price": 45.2 } ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
docs/zh/docs/tutorial/body.md
与声明查询参数一样,包含默认值的模型属性是可选的,否则就是必选的。默认值为 `None` 的模型属性也是可选的。 例如,上述模型声明如下 JSON **对象**(即 Python **字典**): ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ……由于 `description` 和 `tax` 是可选的(默认值为 `None`),下面的 JSON **对象**也有效: ```JSON { "name": "Foo", "price": 45.2 } ``` ## 声明请求体参数 使用与声明路径和查询参数相同的方式声明请求体,把请求体添加至*路径操作*:
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
Por exemplo, o modelo acima declara um JSON "`object`" (ou `dict` no Python) como esse: ```JSON { "name": "Foo", "description": "Uma descrição opcional", "price": 45.2, "tax": 3.5 } ``` ...como `description` e `tax` são opcionais (Com um valor padrão de `None`), esse JSON "`object`" também é válido: ```JSON { "name": "Foo", "price": 45.2 } ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
docs/em/docs/tutorial/body.md
🖼, 👉 🏷 🔛 📣 🎻 "`object`" (⚖️ 🐍 `dict`) 💖: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ... `description` & `tax` 📦 (⏮️ 🔢 💲 `None`), 👉 🎻 "`object`" 🔜 ☑: ```JSON { "name": "Foo", "price": 45.2 } ``` ## 📣 ⚫️ 🔢
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* <p>For example, if {@code rangeMap} had the entries {@code [1, 5] => "foo", (6, 8) => "bar", * (10, ∞) => "baz"} then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map * with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}. * * <p>The returned range map supports all optional operations that this range map supports, except * for {@code asMapOfRanges().iterator().remove()}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 7.7K bytes - Viewed (0)