- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 860 for Pythona (0.1 sec)
-
docs/zh/docs/tutorial/path-params.md
# 路径参数 FastAPI 支持使用 Python 字符串格式化语法声明**路径参数**(**变量**): ```Python hl_lines="6-7" {!../../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"} ``` ## 声明路径参数的类型 使用 Python 标准类型注解,声明路径操作函数中路径参数的类型。 ```Python hl_lines="7"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/em/docs/tutorial/cookie-params.md
# 🍪 🔢 👆 💪 🔬 🍪 🔢 🎏 🌌 👆 🔬 `Query` & `Path` 🔢. ## 🗄 `Cookie` 🥇 🗄 `Cookie`: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="1" {!> ../../docs_src/cookie_params/tutorial001_py310.py!} ``` //// ## 📣 `Cookie` 🔢 ⤴️ 📣 🍪 🔢 ⚙️ 🎏 📊 ⏮️ `Path` & `Query`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
Erstellen Sie dann Klassen-Attribute mit festgelegten Werten, welches die erlaubten Werte sein werden: ```Python hl_lines="1 6-9" {!../../docs_src/path_params/tutorial005.py!} ``` /// info <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerationen (oder kurz Enums)</a> gibt es in Python seit Version 3.4. /// /// tip | "Tipp"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/em/docs/advanced/async-tests.md
📑 `@pytest.mark.anyio` 💬 ✳ 👈 👉 💯 🔢 🔜 🤙 🔁: ```Python hl_lines="7" {!../../docs_src/async_tests/test_main.py!} ``` /// tip 🗒 👈 💯 🔢 🔜 `async def` ↩️ `def` ⏭ 🕐❔ ⚙️ `TestClient`. /// ⤴️ 👥 💪 ✍ `AsyncClient` ⏮️ 📱, & 📨 🔁 📨 ⚫️, ⚙️ `await`. ```Python hl_lines="9-12" {!../../docs_src/async_tests/test_main.py!} ``` 👉 🌓: ```Python response = client.get('/') ```
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
docs/tr/docs/tutorial/first-steps.md
## Adım Adım Özetleyelim ### Adım 1: `FastAPI`yı Projemize Dahil Edelim ```Python hl_lines="1" {!../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI`, API'niz için tüm işlevselliği sağlayan bir Python sınıfıdır. /// note | "Teknik Detaylar" `FastAPI` doğrudan `Starlette`'i miras alan bir sınıftır.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
```Python {!> ../../docs_src/sql_databases/sql_app_py310/schemas.py!} ``` //// * `sql_app/crud.py`: ```Python {!../../docs_src/sql_databases/sql_app/crud.py!} ``` * `sql_app/main.py`: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python {!> ../../docs_src/sql_databases/sql_app/main.py!} ``` //// //// tab | 🐍 3️⃣.9️⃣ & 🔛 ```Python
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25K bytes - Viewed (0) -
docs/zh/docs/advanced/websockets.md
它们的工作方式与其他 FastAPI 端点/ *路径操作* 相同: //// tab | Python 3.10+ ```Python hl_lines="68-69 82" {!> ../../docs_src/websockets/tutorial002_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="68-69 82" {!> ../../docs_src/websockets/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="69-70 83"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/zh/docs/advanced/path-operation-advanced-configuration.md
务必确保每个操作路径的 `operation_id` 都是唯一的。 ```Python hl_lines="6" {!../../docs_src/path_operation_advanced_configuration/tutorial001.py!} ``` ### 使用 *路径操作函数* 的函数名作为 operationId 如果你想用你的 API 的函数名作为 `operationId` 的名字,你可以遍历一遍 API 的函数名,然后使用他们的 `APIRoute.name` 重写每个 *路径操作* 的 `operation_id`。 你应该在添加了所有 *路径操作* 之后执行此操作。 ```Python hl_lines="2 12 13 14 15 16 17 18 19 20 21 24"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
Assim, crie atributos de classe com valores fixos, que serão os valores válidos disponíveis. ```Python hl_lines="1 6-9" {!../../docs_src/path_params/tutorial005.py!} ``` /// info | "informação" <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerations (ou enums) estão disponíveis no Python</a> desde a versão 3.4. /// /// tip | "Dica" ///
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
//tensorflow/python:mixed_precision //tensorflow/python:tf_optimizer //tensorflow/python:compare_test_proto_py //tensorflow/python/framework:test_file_system.so //tensorflow/python/debug:grpc_tensorflow_server.par //tensorflow/python/feature_column:vocabulary_testdata //tensorflow/python/util:nest_test_main_lib //tensorflow/lite/experimental/examples/lstm:rnn_cell //tensorflow/lite/experimental/examples/lstm:rnn_cell.py
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Wed Oct 23 18:48:35 UTC 2024 - 13.6K bytes - Viewed (0)