- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for some (0.24 sec)
-
docs/en/docs/tutorial/extra-models.md
```Python some_variable: PlaneItem | CarItem ``` But if we put that in `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation. ## List of models The same way, you can declare responses of lists of objects.
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/pt/docs/tutorial/extra-models.md
Se estivesse em uma anotaรงรฃo de tipo, poderรญamos ter usado a barra vertical, como: ```Python some_variable: PlaneItem | CarItem ```
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/em/docs/tutorial/extra-models.md
๐ ๐ผ ๐ฅ ๐ถโโ๏ธ `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/de/docs/tutorial/extra-models.md
Wenn es eine Typannotation gewesen wรคre, hรคtten wir auch den vertikalen Trennstrich verwenden kรถnnen, wie in: ```Python some_variable: PlaneItem | CarItem ```
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)