- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for 11 (0.2 sec)
-
docs/de/docs/tutorial/body-nested-models.md
{!> ../../../docs_src/body_nested_models/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004.py!} ``` ### Das Kindmodell als Typ verwenden
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
{!> ../../../docs_src/body_nested_models/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004.py!} ``` ### Использование вложенной модели в качестве типа
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
Tudo isso, aninhado arbitrariamente. ### Defina um sub-modelo Por exemplo, nós podemos definir um modelo `Image`: ```Python hl_lines="9-11" {!../../../docs_src/body_nested_models/tutorial004.py!} ``` ### Use o sub-modelo como um tipo E então podemos usa-lo como o tipo de um atributo: ```Python hl_lines="20"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
{!> ../../../docs_src/body_nested_models/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004.py!} ``` ### Use the submodel as a type
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
그런데 해당 타입 자체로 또다른 Pydantic 모델의 타입이 될 수 있습니다. 그러므로 특정한 어트리뷰트의 이름, 타입, 검증을 사용하여 깊게 중첩된 JSON "객체"를 선언할 수 있습니다. 모든 것이 단독으로 중첩됩니다. ### 서브모델 정의 예를 들어, `Image` 모델을 선언할 수 있습니다: ```Python hl_lines="9-11" {!../../../docs_src/body_nested_models/tutorial004.py!} ``` ### 서브모듈을 타입으로 사용 그리고 어트리뷰트의 타입으로 사용할 수 있습니다: ```Python hl_lines="20" {!../../../docs_src/body_nested_models/tutorial004.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
{!> ../../../docs_src/body_nested_models/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004.py!} ``` ### 将子模型用作类型 然后我们可以将其用作一个属性的类型: === "Python 3.10+"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/em/docs/tutorial/body-nested-models.md
🌐 👈, 🎲 🐦. ### 🔬 📊 🖼, 👥 💪 🔬 `Image` 🏷: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004.py!} ``` === "🐍 3️⃣.9️⃣ & 🔛" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="7-9"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-nested-models.md
Pydanticモデルを`list`や`set`などのサブタイプとして使用することもできます: ```Python hl_lines="20" {!../../../docs_src/body_nested_models/tutorial006.py!} ``` これは、次のようなJSONボディを期待します(変換、検証、ドキュメントなど): ```JSON hl_lines="11" { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": [ "rock", "metal", "bar" ], "images": [ {
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.7K bytes - Viewed (0)