- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 137 for _id (0.21 sec)
-
docs/ru/docs/tutorial/path-params.md
{!../../../docs_src/path_params/tutorial001.py!} ``` Значение параметра пути `item_id` будет передано в функцию в качестве аргумента `item_id`. Если запустите этот пример и перейдёте по адресу: <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, то увидите ответ: ```JSON {"item_id":"foo"} ``` ## Параметры пути с типами
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-params.md
``` 这段代码把路径参数 `item_id` 的值传递给路径函数的参数 `item_id`。 运行示例并访问 <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>,可获得如下响应: ```JSON {"item_id":"foo"} ``` ## 声明路径参数的类型 使用 Python 标准类型注解,声明路径操作函数中路径参数的类型。 ```Python hl_lines="7" {!../../../docs_src/path_params/tutorial002.py!} ``` 本例把 `item_id` 的类型声明为 `int`。 !!! check "检查"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 01 05:35:40 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
{!../../../docs_src/path_params/tutorial001.py!} ``` La valeur du paramètre `item_id` sera transmise à la fonction dans l'argument `item_id`. Donc, si vous exécutez cet exemple et allez sur <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, vous verrez comme réponse : ```JSON {"item_id":"foo"} ``` ## Paramètres de chemin typés
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10K bytes - Viewed (0) -
docs/metrics/v3.md
| `minio_cluster_erasure_set_write_quorum` | `gauge` | Write quorum for the erasure set in a pool | `pool_id,set_id` | | `minio_cluster_erasure_set_online_drives_count` | `gauge` | Count of online drives in the erasure set in a pool | `pool_id,set_id` |
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 17:37:57 GMT 2024 - 28.5K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params.md
``` In diesem Fall wird der Funktionsparameter `q` optional, und standardmäßig `None` sein. !!! check Beachten Sie auch, dass **FastAPI** intelligent genug ist, um zu erkennen, dass `item_id` ein Pfad-Parameter ist und `q` keiner, daher muss letzteres ein Query-Parameter sein. ## Query-Parameter Typkonvertierung Sie können auch `bool`-Typen deklarieren und sie werden konvertiert: === "Python 3.10+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 25 14:53:41 GMT 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/workload/testdata/vmconfig/ipv4/cluster.env.golden
ISTIO_INBOUND_PORTS='*' ISTIO_LOCAL_EXCLUDE_PORTS='22,15090,15021,15020' ISTIO_METAJSON_LABELS='{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}' ISTIO_META_CLUSTER_ID='Kubernetes' ISTIO_META_DNS_CAPTURE='true' ISTIO_META_MESH_ID='' ISTIO_META_NETWORK='' ISTIO_META_WORKLOAD_NAME='foo' ISTIO_NAMESPACE='bar' ISTIO_SERVICE='foo.bar' ISTIO_SERVICE_CIDR='*' ISTIO_SVC_IP='10.10.10.10' POD_NAMESPACE='bar'
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 655 bytes - Viewed (0) -
docs/ja/docs/tutorial/path-params.md
`/users/me` から、現在のユーザに関するデータを取得するとします。 さらに、ユーザIDによって特定のユーザに関する情報を取得するパス `/users/{user_id}` ももつことができます。 *path operations* は順に評価されるので、 `/users/me` が `/users/{user_id}` よりも先に宣言されているか確認する必要があります: ```Python hl_lines="6 11" {!../../../docs_src/path_params/tutorial003.py!} ``` それ以外の場合、 `/users/{users_id}` は `/users/me` としてもマッチします。値が「"me"」であるパラメータ `user_id` を受け取ると「考え」ます。 ## 定義済みの値
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params.md
```Python hl_lines="7" {!> ../../../docs_src/query_params/tutorial002_py310.py!} ``` 👉 💼, 🔢 🔢 `q` 🔜 📦, & 🔜 `None` 🔢. !!! check 👀 👈 **FastAPI** 🙃 🥃 👀 👈 ➡ 🔢 `item_id` ➡ 🔢 & `q` 🚫,, ⚫️ 🔢 🔢. ## 🔢 🔢 🆎 🛠️ 👆 💪 📣 `bool` 🆎, & 👫 🔜 🗜: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="9" {!> ../../../docs_src/query_params/tutorial003.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.5K bytes - Viewed (0) -
docs/fr/docs/advanced/path-operation-advanced-configuration.md
Vous devez vous assurer qu'il est unique pour chaque opération. ```Python hl_lines="6" {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8K bytes - Viewed (0)