- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 580 for url_lines (0.13 sec)
-
docs/em/docs/advanced/sub-applications.md
### 🔝-🎚 🈸 🥇, ✍ 👑, 🔝-🎚, **FastAPI** 🈸, & 🚮 *➡ 🛠️*: ```Python hl_lines="3 6-8" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### 🎧-🈸 ⤴️, ✍ 👆 🎧-🈸, & 🚮 *➡ 🛠️*. 👉 🎧-🈸 ➕1️⃣ 🐩 FastAPI 🈸, ✋️ 👉 1️⃣ 👈 🔜 "🗻": ```Python hl_lines="11 14-16" {!../../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.4K bytes - Viewed (0) -
docs/de/docs/advanced/events.md
Beginnen wir mit einem Beispiel und sehen es uns dann im Detail an. Wir erstellen eine asynchrone Funktion `lifespan()` mit `yield` wie folgt: ```Python hl_lines="16 19" {!../../docs_src/events/tutorial003.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/first-steps.md
//// tab | Python 3.9+ ```Python hl_lines="8" {!> ../../docs_src/security/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="7" {!> ../../docs_src/security/tutorial001_an.py!} ``` //// //// tab | Python 3.8+ без Annotated /// tip | "Подсказка"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-operation-configuration.md
`tags`パラメータを`str`の`list`(通常は1つの`str`)と一緒に渡すと、*path operation*にタグを追加できます: ```Python hl_lines="17 22 27" {!../../docs_src/path_operation_configuration/tutorial002.py!} ``` これらはOpenAPIスキーマに追加され、自動ドキュメントのインターフェースで使用されます: <img src="https://fastapi.tiangolo.com/img/tutorial/path-operation-configuration/image01.png"> ## 概要と説明 `summary`と`description`を追加できます: ```Python hl_lines="20-21" {!../../docs_src/path_operation_configuration/tutorial003.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/metadata.md
Você pode defini-los da seguinte maneira: ```Python hl_lines="3-16 19-32" {!../../docs_src/metadata/tutorial001.py!} ``` /// tip | Dica Você pode escrever Markdown no campo `description` e ele será renderizado na saída. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:36:14 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/body.md
/// ## Pydanticの `BaseModel` をインポート ます初めに、 `pydantic` から `BaseModel` をインポートする必要があります: ```Python hl_lines="2" {!../../docs_src/body/tutorial001.py!} ``` ## データモデルの作成 そして、`BaseModel` を継承したクラスとしてデータモデルを宣言します。 すべての属性にpython標準の型を使用します: ```Python hl_lines="5-9" {!../../docs_src/body/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
并且,可以按需声明任意**深度**的子依赖项嵌套层级。 **FastAPI** 负责处理解析不同深度的子依赖项。 ### 第一层依赖项 下列代码创建了第一层依赖项: ```Python hl_lines="8-9" {!../../docs_src/dependencies/tutorial005.py!} ``` 这段代码声明了类型为 `str` 的可选查询参数 `q`,然后返回这个查询参数。 这个函数很简单(不过也没什么用),但却有助于让我们专注于了解子依赖项的工作方式。 ### 第二层依赖项 接下来,创建另一个依赖项函数,并同时用该依赖项自身再声明一个依赖项(所以这也是一个「依赖项」): ```Python hl_lines="13" {!../../docs_src/dependencies/tutorial005.py!} ``` 这里重点说明一下声明的参数:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/bigger-applications.md
你可以使用 `APIRouter` 为该模块创建*路径操作*。 ### 导入 `APIRouter` 你可以导入它并通过与 `FastAPI` 类相同的方式创建一个「实例」: ```Python hl_lines="1 3" title="app/routers/users.py" {!../../docs_src/bigger_applications/app/routers/users.py!} ``` ### 使用 `APIRouter` 的*路径操作* 然后你可以使用它来声明*路径操作*。 使用方式与 `FastAPI` 类相同: ```Python hl_lines="6 11 16" title="app/routers/users.py" {!../../docs_src/bigger_applications/app/routers/users.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/global-dependencies.md
//// tab | Python 3.9+ ```Python hl_lines="16" {!> ../../docs_src/dependencies/tutorial012_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="16" {!> ../../docs_src/dependencies/tutorial012_an.py!} ``` //// //// tab | Python 3.8 Annotated가 없는 경우 /// tip | "팁" 가능하다면 `Annotated`가 달린 버전을 권장합니다. /// ```Python hl_lines="15"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-forms-and-files.md
例如,`pip install python-multipart`。 /// ## 导入 `File` 与 `Form` ```Python hl_lines="1" {!../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## 定义 `File` 与 `Form` 参数 创建文件和表单参数的方式与 `Body` 和 `Query` 一样: ```Python hl_lines="8" {!../../docs_src/request_forms_and_files/tutorial001.py!} ``` 文件和表单字段作为表单数据上传与接收。 声明文件可以使用 `bytes` 或 `UploadFile` 。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.1K bytes - Viewed (0)