- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 454 for Extra (0.13 sec)
-
docs/zh/docs/tutorial/schema-extra-example.md
一个常见的用例是添加一个将在文档中显示的`example`。 有几种方法可以声明额外的 JSON 模式信息。 ## Pydantic `schema_extra` 您可以使用 `Config` 和 `schema_extra` 为Pydantic模型声明一个示例,如<a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Pydantic 文档:定制 Schema </a>中所述: === "Python 3.10+" ```Python hl_lines="13-21" {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/em/docs/tutorial/schema-extra-example.md
👆 💪 📣 🖼 💽 👆 📱 💪 📨. 📥 📚 🌌 ⚫️. ## Pydantic `schema_extra` 👆 💪 📣 `example` Pydantic 🏷 ⚙️ `Config` & `schema_extra`, 🔬 <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#customizing-json-schema" class="external-link" target="_blank">Pydantic 🩺: 🔗 🛃</a>: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="15-23" {!> ../../../docs_src/schema_extra_example/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 5.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
```Python hl_lines="22-27" {!> ../../../docs_src/schema_extra_example/tutorial003_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="22-27" {!> ../../../docs_src/schema_extra_example/tutorial003_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="23-28" {!> ../../../docs_src/schema_extra_example/tutorial003_an.py!} ``` === "Python 3.10+ non-Annotated"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
{!> ../../../docs_src/extra_data_types/tutorial001.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="1 2 11-15" {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!} ``` 🗒 👈 🔢 🔘 🔢 ✔️ 👫 🐠 💽 🆎, & 👆 💪, 🖼, 🎭 😐 📅 🎭, 💖: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="18-19" {!> ../../../docs_src/extra_data_types/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 2.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/schema-extra-example.md
JSON Schemaの追加情報を宣言する方法はいくつかあります。 ## Pydanticの`schema_extra` <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Pydanticのドキュメント: スキーマのカスタマイズ</a>で説明されているように、`Config`と`schema_extra`を使ってPydanticモデルの例を宣言することができます: ```Python hl_lines="15 16 17 18 19 20 21 22 23" {!../../../docs_src/schema_extra_example/tutorial001.py!} ``` その追加情報はそのまま出力され、JSON Schemaに追加されます。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-data-types.md
## 例 ここでは、上記の型のいくつかを使用したパラメータを持つ*path operation*の例を示します。 ```Python hl_lines="1 2 12-16" {!../../../docs_src/extra_data_types/tutorial001.py!} ``` 関数内のパラメータは自然なデータ型を持っていることに注意してください。そして、以下のように通常の日付操作を行うことができます: ```Python hl_lines="18 19" {!../../../docs_src/extra_data_types/tutorial001.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
```Python hl_lines="1 3 12-16" {!> ../../../docs_src/extra_data_types/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="1 3 12-16" {!> ../../../docs_src/extra_data_types/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="1 3 13-17" {!> ../../../docs_src/extra_data_types/tutorial001_an.py!} ``` === "Python 3.10+ non-Annotated"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/extra-data-types.md
```Python hl_lines="1 3 12-16" {!> ../../../docs_src/extra_data_types/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="1 3 12-16" {!> ../../../docs_src/extra_data_types/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="1 3 13-17" {!> ../../../docs_src/extra_data_types/tutorial001_an.py!} ``` === "Python 3.10+ non-Annotated"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 5.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/schema-extra-example.md
```Python hl_lines="13-24" {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!} ``` === "Python 3.10+ Pydantic v1" ```Python hl_lines="13-23" {!> ../../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!} ``` === "Python 3.8+ Pydantic v2" ```Python hl_lines="15-26" {!> ../../../docs_src/schema_extra_example/tutorial001.py!} ``` === "Python 3.8+ Pydantic v1"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Feb 09 12:35:46 GMT 2024 - 13.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/schema-extra-example.md
Aqui estão várias formas de se fazer isso. ## `schema_extra` do Pydantic Você pode declarar um `example` para um modelo Pydantic usando `Config` e `schema_extra`, conforme descrito em <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Documentação do Pydantic: Schema customization</a>: ```Python hl_lines="15-23" {!../../../docs_src/schema_extra_example/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 6.1K bytes - Viewed (0)