- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 874 for tutorial001 (0.24 sec)
-
docs/vi/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../docs_src/first_steps/tutorial003.py!} ``` /// note Nếu bạn không biết sự khác nhau, kiểm tra [Async: *"Trong khi vội vàng?"*](../async.md#in-a-hurry){.internal-link target=_blank}. /// ### Bước 5: Nội dung trả về ```Python hl_lines="8" {!../../docs_src/first_steps/tutorial001.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/de/docs/advanced/sub-applications.md
```Python hl_lines="3 6-8" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### Unteranwendung Erstellen Sie dann Ihre Unteranwendung und deren *Pfadoperationen*. Diese Unteranwendung ist nur eine weitere Standard-FastAPI-Anwendung, aber diese wird „gemountet“: ```Python hl_lines="11 14-16" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### Die Unteranwendung mounten
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/zh/docs/advanced/sub-applications.md
{!../../docs_src/sub_applications/tutorial001.py!} ``` ### 子应用 接下来,创建子应用及其*路径操作*。 子应用只是另一个标准 FastAPI 应用,但这个应用是被**挂载**的应用: ```Python hl_lines="11 14-16" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### 挂载子应用 在顶层应用 `app` 中,挂载子应用 `subapi`。 本例的子应用挂载在 `/subapi` 路径下: ```Python hl_lines="11 19" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### 查看文档
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/en/docs/how-to/extending-openapi.md
First, write all your **FastAPI** application as normally: {* ../../docs_src/extending_openapi/tutorial001.py hl[1,4,7:9] *} ### Generate the OpenAPI schema Then, use the same utility function to generate the OpenAPI schema, inside a `custom_openapi()` function: {* ../../docs_src/extending_openapi/tutorial001.py hl[2,15:21] *} ### Modify the OpenAPI schema
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:39:38 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/pt/docs/how-to/separate-openapi-schemas.md
</details> //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/separate_openapi_schemas/tutorial001.py[ln:1-9]!} # Code below omitted 👇 ``` <details> <summary>👀 Visualização completa do arquivo</summary> ```Python {!> ../../docs_src/separate_openapi_schemas/tutorial001.py!} ``` </details> //// ### Modelo para Entrada
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 24 18:52:36 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/header-params.md
``` //// //// tab | Python 3.8+ non-Annotated /// tip 尽可能选择使用 `Annotated` 的版本。 /// ```Python hl_lines="3" {!> ../../docs_src/header_params/tutorial001.py!} ``` //// ## 声明 `Header` 参数 然后,使用和 `Path`、`Query`、`Cookie` 一样的结构定义 header 参数。 第一个值是默认值,还可以传递所有验证参数或注释参数: //// tab | Python 3.10+ ```Python hl_lines="9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/body.md
/// ## Імпортуйте `BaseModel` від Pydantic Спочатку вам потрібно імпортувати `BaseModel` з `pydantic`: //// tab | Python 3.8 і вище ```Python hl_lines="4" {!> ../../docs_src/body/tutorial001.py!} ``` //// //// tab | Python 3.10 і вище ```Python hl_lines="2" {!> ../../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/cookie-params.md
//// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/cookie_params/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001.py!} ``` //// ## Объявление параметров `Cookie` Затем объявляйте параметры cookie, используя ту же структуру, что и с `Path` и `Query`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/background-tasks.md
{!../../docs_src/background_tasks/tutorial001.py!} ``` **FastAPI** 会创建一个 `BackgroundTasks` 类型的对象并作为该参数传入。 ## 创建一个任务函数 创建要作为后台任务运行的函数。 它只是一个可以接收参数的标准函数。 它可以是 `async def` 或普通的 `def` 函数,**FastAPI** 知道如何正确处理。 在这种情况下,任务函数将写入一个文件(模拟发送电子邮件)。 由于写操作不使用 `async` 和 `await`,我们用普通的 `def` 定义函数: ```Python hl_lines="6-9" {!../../docs_src/background_tasks/tutorial001.py!} ``` ## 添加后台任务
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../docs_src/first_steps/tutorial003.py!} ``` /// note | "Hinweis" Wenn Sie den Unterschied nicht kennen, lesen Sie [Async: *„In Eile?“*](../async.md#in-eile){.internal-link target=_blank}. /// ### Schritt 5: den Inhalt zurückgeben ```Python hl_lines="8" {!../../docs_src/first_steps/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0)