- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for List (0.16 sec)
-
docs/en/docs/tutorial/extra-models.md
## List of models The same way, you can declare responses of lists of objects. For that, use the standard Python `typing.List` (or just `list` in Python 3.9 and above): === "Python 3.9+" ```Python hl_lines="18" {!> ../../../docs_src/extra_models/tutorial004_py39.py!}
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/ru/docs/tutorial/extra-models.md
## Список моделей Таким же образом вы можете определять ответы как списки объектов. Для этого используйте `typing.List` из стандартной библиотеки Python (или просто `list` в Python 3.9 и выше): === "Python 3.9+" ```Python hl_lines="18" {!> ../../../docs_src/extra_models/tutorial004_py39.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
## Lista de modelos Da mesma forma, você pode declarar respostas de listas de objetos. Para isso, use o padrão Python `typing.List` (ou simplesmente `list` no Python 3.9 e superior): === "Python 3.8 and above" ```Python hl_lines="1 20" {!> ../../../docs_src/extra_models/tutorial004.py!} ``` === "Python 3.9 and above"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-models.md
``` ✋️ 🚥 👥 🚮 👈 `response_model=PlaneItem | CarItem` 👥 🔜 🤚 ❌, ↩️ 🐍 🔜 🔄 🎭 **❌ 🛠️** 🖖 `PlaneItem` & `CarItem` ↩️ 🔬 👈 🆎 ✍. ## 📇 🏷 🎏 🌌, 👆 💪 📣 📨 📇 🎚. 👈, ⚙️ 🐩 🐍 `typing.List` (⚖️ `list` 🐍 3️⃣.9️⃣ & 🔛): === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="1 20" {!> ../../../docs_src/extra_models/tutorial004.py!} ``` === "🐍 3️⃣.9️⃣ & 🔛"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.8K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-models.md
## Listen von Modellen Genauso können Sie eine Response deklarieren, die eine Liste von Objekten ist. Verwenden Sie dafür Pythons Standard `typing.List` (oder nur `list` in Python 3.9 und darüber): === "Python 3.9+" ```Python hl_lines="18" {!> ../../../docs_src/extra_models/tutorial004_py39.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:26:47 GMT 2024 - 8.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
=== "Python 3.8+" ```Python hl_lines="1 14-15 18-20 33" {!> ../../../docs_src/extra_models/tutorial003.py!} ``` ## 模型列表 使用同样的方式也可以声明由对象列表构成的响应。 为此,请使用标准的 Python `typing.List`: === "Python 3.9+" ```Python hl_lines="18" {!> ../../../docs_src/extra_models/tutorial004_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="1 20"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Apr 01 01:15:53 GMT 2024 - 6.7K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-models.md
```Python hl_lines="1 14 15 18 19 20 33" {!../../../docs_src/extra_models/tutorial003.py!} ``` ## モデルのリスト 同じように、オブジェクトのリストのレスポンスを宣言することができます。 そのためには、標準のPythonの`typing.List`を使用する: ```Python hl_lines="1 20" {!../../../docs_src/extra_models/tutorial004.py!} ``` ## 任意の`dict`を持つレスポンス また、Pydanticモデルを使用せずに、キーと値の型だけを定義した任意の`dict`を使ってレスポンスを宣言することもできます。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Jan 15 15:36:32 GMT 2024 - 6.7K bytes - Viewed (0)