- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for PlaneItem (0.21 sec)
-
docs_src/extra_models/tutorial003.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 644 bytes - Viewed (1) -
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py
} ], } } }, "components": { "schemas": { "PlaneItem": { "title": "PlaneItem", "required": IsOneOf( ["description", "type", "size"], # TODO: remove when deprecating Pydantic v1
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 04 20:47:07 GMT 2023 - 5.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
=== "Python 3.10+" ```Python hl_lines="1 14-15 18-20 33" {!> ../../../docs_src/extra_models/tutorial003_py310.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/em/docs/tutorial/extra-models.md
### `Union` ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ ๐ ๐ผ ๐ฅ ๐ถโโ๏ธ `Union[PlaneItem, CarItem]` ๐ฒ โ `response_model`. โฉ๏ธ ๐ฅ ๐ถโโ๏ธ โซ๏ธ **๐ฒ โ** โฉ๏ธ ๐ฎ โซ๏ธ **๐ โ**, ๐ฅ โ๏ธ โ๏ธ `Union` ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ. ๐ฅ โซ๏ธ ๐ โ ๐ฅ ๐ช โ๏ธ โ๏ธ โธ โธ,: ```Python some_variable: PlaneItem | CarItem ``` โ๏ธ ๐ฅ ๐ฅ ๐ฎ ๐ `response_model=PlaneItem | CarItem` ๐ฅ ๐ ๐ค โ, โฉ๏ธ ๐ ๐ ๐ ๐ญ **โ ๐ ๏ธ** ๐ `PlaneItem` & `CarItem` โฉ๏ธ ๐ฌ ๐ ๐ โ. ## ๐ ๐ท
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.8K bytes - Viewed (0) -
docs_src/extra_models/tutorial003_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 644 bytes - Viewed (0) -
docs/de/docs/tutorial/extra-models.md
=== "Python 3.10+" ```Python hl_lines="1 14-15 18-20 33" {!> ../../../docs_src/extra_models/tutorial003_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:47 GMT 2024 - 8.7K bytes - Viewed (0) -
tests/test_tutorial/test_extra_models/test_tutorial003.py
} ], } } }, "components": { "schemas": { "PlaneItem": { "title": "PlaneItem", "required": IsOneOf( ["description", "type", "size"], # TODO: remove when deprecating Pydantic v1
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 04 20:47:07 GMT 2023 - 5.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
!!! note "็ฌ่ฎฐ" ๅฎไน <a href="https://docs.pydantic.dev/latest/concepts/types/#unions" class="external-link" target="_blank">`Union`</a> ็ฑปๅๆถ๏ผ่ฆๆ่ฏฆ็ป็็ฑปๅๅๅจๅ้ข๏ผ็ถๅๆฏไธๅคช่ฏฆ็ป็็ฑปๅใไธไพไธญ๏ผๆด่ฏฆ็ป็ `PlaneItem` ไฝไบ `Union[PlaneItem๏ผCarItem]` ไธญ็ `CarItem` ไนๅใ === "Python 3.10+" ```Python hl_lines="1 14-15 18-20 33" {!> ../../../docs_src/extra_models/tutorial003_py310.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 01 01:15:53 GMT 2024 - 6.7K bytes - Viewed (0)