- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 275 for 18 (0.01 sec)
-
docs/zh/docs/tutorial/extra-models.md
{!> ../../docs_src/extra_models/tutorial003.py!} ``` //// ## 模型列表 使用同样的方式也可以声明由对象列表构成的响应。 为此,请使用标准的 Python `typing.List`: //// tab | Python 3.9+ ```Python hl_lines="18" {!> ../../docs_src/extra_models/tutorial004_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 20" {!> ../../docs_src/extra_models/tutorial004.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/uk/docs/tutorial/body.md
} ``` ## Оголоси її як параметр Щоб додати модель даних до вашої *операції шляху*, оголосіть її так само, як ви оголосили параметри шляху та запиту: //// tab | Python 3.8 і вище ```Python hl_lines="18" {!> ../../docs_src/body/tutorial001.py!} ``` //// //// tab | Python 3.10 і вище ```Python hl_lines="16" {!> ../../docs_src/body/tutorial001_py310.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-models.md
Таким же образом вы можете определять ответы как списки объектов. Для этого используйте `typing.List` из стандартной библиотеки Python (или просто `list` в Python 3.9 и выше): //// tab | Python 3.9+ ```Python hl_lines="18" {!> ../../docs_src/extra_models/tutorial004_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 20" {!> ../../docs_src/extra_models/tutorial004.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
//// tab | Python 3.8 and above ```Python hl_lines="1 20" {!> ../../docs_src/extra_models/tutorial004.py!} ``` //// //// tab | Python 3.9 and above ```Python hl_lines="18" {!> ../../docs_src/extra_models/tutorial004_py39.py!} ``` //// ## Resposta com `dict` arbitrário
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.8K bytes - Viewed (0) -
istioctl/pkg/describe/testdata/describe/tls_config.json
{ "configs": [ { "@type": "type.googleapis.com/envoy.admin.v3.RoutesConfigDump", "dynamic_route_configs": [ { "version_info": "2022-03-04T07:18:48Z/22", "route_config": { "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", "name": "https.443.https.bookinfo-gateway.default", "virtual_hosts": [ { "name": "*:443",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 8K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
//// tab | Python 3.10+ ```Python hl_lines="16" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="18" {!> ../../docs_src/body/tutorial001.py!} ``` //// ... und deklarieren Sie seinen Typ als das Modell, welches Sie erstellt haben, `Item`. ## Resultate
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
docs/zh/docs/tutorial/body.md
使用与声明路径和查询参数相同的方式声明请求体,把请求体添加至*路径操作*: //// tab | Python 3.10+ ```Python hl_lines="16" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="18" {!> ../../docs_src/body/tutorial001.py!} ``` //// ……此处,请求体参数的类型为 `Item` 模型。 ## 结论 仅使用 Python 类型声明,**FastAPI** 就可以: * 以 JSON 形式读取请求体 * (在必要时)把请求体转换为对应的类型 * 校验数据:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/body.md
"price": 45.2 } ``` ## Declare como um parâmetro Para adicionar o corpo na *função de operação de rota*, declare-o da mesma maneira que você declarou parâmetros de rota e consulta: ```Python hl_lines="18" {!../../docs_src/body/tutorial001.py!} ``` ...E declare o tipo como o modelo que você criou, `Item`. ## Resultados Apenas com esse declaração de tipos do Python, o **FastAPI** irá:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.1K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
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): //// tab | Python 3.9+ ```Python hl_lines="18" {!> ../../docs_src/extra_models/tutorial004_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 20" {!> ../../docs_src/extra_models/tutorial004.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-models.md
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): //// tab | Python 3.9+ ```Python hl_lines="18" {!> ../../docs_src/extra_models/tutorial004_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 20" {!> ../../docs_src/extra_models/tutorial004.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.7K bytes - Viewed (0)