- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 871 for tutorial001 (0.2 sec)
-
docs/de/docs/advanced/path-operation-advanced-configuration.md
Sie müssten sicherstellen, dass sie für jede Operation eindeutig ist. ```Python hl_lines="6" {!../../docs_src/path_operation_advanced_configuration/tutorial001.py!} ``` ### Verwendung des Namens der *Pfadoperation-Funktion* als operationId
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
```Python hl_lines="6" {!../../docs_src/response_status_code/tutorial001.py!} ``` `201` is the status code for "Created". But you don't have to memorize what each of these codes mean. You can use the convenience variables from `fastapi.status`. ```Python hl_lines="1 6" {!../../docs_src/response_status_code/tutorial002.py!} ```
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4K bytes - Viewed (0) -
docs/pt/docs/tutorial/header-params.md
//// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/header_params/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="3" {!> ../../docs_src/header_params/tutorial001.py!} ``` //// ## Declare parâmetros de `Header` Então declare os paramêtros de cabeçalho usando a mesma estrutura que em `Path`, `Query` e `Cookie`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/ja/docs/advanced/path-operation-advanced-configuration.md
{!../../docs_src/path_operation_advanced_configuration/tutorial001.py!} ``` ### *path operation関数* の名前をoperationIdとして使用する APIの関数名を `operationId` として利用したい場合、すべてのAPIの関数をイテレーションし、各 *path operation* の `operationId` を `APIRoute.name` で上書きすれば可能です。 そうする場合は、すべての *path operation* を追加した後に行う必要があります。 ```Python hl_lines="2 12-21 24" {!../../docs_src/path_operation_advanced_configuration/tutorial002.py!} ``` /// tip | "豆知識"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/em/docs/tutorial/body-fields.md
## 🗄 `Field` 🥇, 👆 ✔️ 🗄 ⚫️: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="4" {!> ../../docs_src/body_fields/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="2" {!> ../../docs_src/body_fields/tutorial001_py310.py!} ``` //// /// warning
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/zh/docs/advanced/path-operation-advanced-configuration.md
{!../../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" {!../../docs_src/path_operation_advanced_configuration/tutorial002.py!} ``` /// tip
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/ru/docs/tutorial/request-forms-and-files.md
//// tab | Python 3.6+ без Annotated /// tip | "Подсказка" Предпочтительнее использовать версию с аннотацией, если это возможно. /// ```Python hl_lines="1" {!> ../../docs_src/request_forms_and_files/tutorial001.py!} ``` //// ## Определите параметры `File` и `Form` Создайте параметры файла и формы таким же образом, как для `Body` или `Query`: //// tab | Python 3.9+ ```Python hl_lines="10-12"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
```Python hl_lines="6-9" {!../../docs_src/background_tasks/tutorial001.py!} ``` ## Add the background task Inside of your *path operation function*, pass your task function to the *background tasks* object with the method `.add_task()`: ```Python hl_lines="14" {!../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` receives as arguments:
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/de/docs/advanced/openapi-callbacks.md
Dieser Teil ist ziemlich normal, der größte Teil des Codes ist Ihnen wahrscheinlich bereits bekannt: ```Python hl_lines="9-13 36-53" {!../../docs_src/openapi_callbacks/tutorial001.py!} ``` /// tip | "Tipp" Der Query-Parameter `callback_url` verwendet einen Pydantic-<a href="https://docs.pydantic.dev/latest/api/networks/" class="external-link" target="_blank">Url</a>-Typ. ///
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.8K bytes - Viewed (0) -
docs/em/docs/tutorial/background-tasks.md
& ✍ 🛠️ 🚫 ⚙️ `async` & `await`, 👥 🔬 🔢 ⏮️ 😐 `def`: ```Python hl_lines="6-9" {!../../docs_src/background_tasks/tutorial001.py!} ``` ## 🚮 🖥 📋 🔘 👆 *➡ 🛠️ 🔢*, 🚶♀️ 👆 📋 🔢 *🖥 📋* 🎚 ⏮️ 👩🔬 `.add_task()`: ```Python hl_lines="14" {!../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` 📨 ❌: * 📋 🔢 🏃 🖥 (`write_notification`). * 🙆 🔁 ❌ 👈 🔜 🚶♀️ 📋 🔢 ✔ (`email`).
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0)