- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 890 for docs_src (0.06 sec)
-
docs/es/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../docs_src/first_steps/tutorial003.py!} ``` /// note | Nota Si no sabes la diferencia, revisa el [Async: *"¿Tienes prisa?"*](../async.md#tienes-prisa){.internal-link target=_blank}. /// ### Paso 5: devuelve el contenido ```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 - 9.9K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../docs_src/first_steps/tutorial003.py!} ``` /// note Si vous ne connaissez pas la différence, allez voir la section [Concurrence : *"Vous êtes pressés ?"*](../async.md#vous-etes-presses){.internal-link target=_blank}. /// ### Étape 5 : retourner le contenu ```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.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../docs_src/first_steps/tutorial003.py!} ``` /// note | "Nota" Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#com-pressa){.internal-link target=_blank}. /// ### Passo 5: retorne o conteúdo ```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 - 9.6K bytes - Viewed (0) -
docs/em/docs/tutorial/path-operation-configuration.md
```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.9️⃣ & 🔛 ```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001_py39.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="1 15" {!> ../../docs_src/path_operation_configuration/tutorial001_py310.py!} ``` ////
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/ru/docs/tutorial/dependencies/index.md
//// tab | Python 3.10+ ```Python hl_lines="8-9" {!> ../../docs_src/dependencies/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="8-11" {!> ../../docs_src/dependencies/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9-12" {!> ../../docs_src/dependencies/tutorial001_an.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17.6K 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" {!../../docs_src/path_operation_advanced_configuration/tutorial002.py!} ```
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/en/docs/advanced/templates.md
```jinja hl_lines="4" {!../../docs_src/templates/templates/item.html!} ``` In this example, it would link to a CSS file at `static/styles.css` with: ```CSS hl_lines="4" {!../../docs_src/templates/static/styles.css!} ```
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/templates.md
``` ## 模板与静态文件 你还可以在模板内部将 `url_for()`用于静态文件,例如你挂载的 `name="static"`的 `StaticFiles`。 ```jinja hl_lines="4" {!../../docs_src/templates/templates/item.html!} ``` 本例中,它将链接到 `static/styles.css`中的CSS文件: ```CSS hl_lines="4" {!../../docs_src/templates/static/styles.css!} ``` 因为使用了 `StaticFiles`, **FastAPI** 应用会自动提供位于 URL `/static/styles.css`的 CSS 文件。 ## 更多说明
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_app02.py
@needs_pydanticv2 def test_settings(monkeypatch: MonkeyPatch): from docs_src.settings.app02 import main monkeypatch.setenv("ADMIN_EMAIL", "******@****.***") settings = main.get_settings() assert settings.app_name == "Awesome API" assert settings.items_per_user == 50 @needs_pydanticv2 def test_override_settings(): from docs_src.settings.app02 import test_main
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 488 bytes - Viewed (0) -
docs/ja/docs/advanced/custom-response.md
```Python hl_lines="1 18" {!../../docs_src/response_directly/tutorial002.py!} ``` ### `HTMLResponse` 上で読んだように、テキストやバイトを受け取り、HTMLレスポンスを返します。 ### `PlainTextResponse` テキストやバイトを受け取り、プレーンテキストのレスポンスを返します。 ```Python hl_lines="2 7 9" {!../../docs_src/custom_response/tutorial005.py!} ``` ### `JSONResponse`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0)