- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 871 for tutorial001 (0.16 sec)
-
docs/em/docs/tutorial/dependencies/index.md
### ✍ 🔗, ⚖️ "☑" ➡️ 🥇 🎯 🔛 🔗. ⚫️ 🔢 👈 💪 ✊ 🌐 🎏 🔢 👈 *➡ 🛠️ 🔢* 💪 ✊: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="8-11" {!> ../../docs_src/dependencies/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="6-7" {!> ../../docs_src/dependencies/tutorial001_py310.py!} ``` //// 👈 ⚫️. **2️⃣ ⏸**.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/pt/docs/advanced/behind-a-proxy.md
Nesse caso, o caminho original `/app` seria servido em `/api/v1/app`. Embora todo o seu código esteja escrito assumindo que existe apenas `/app`. ```Python hl_lines="6" {!../../docs_src/behind_a_proxy/tutorial001.py!} ```
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.3K bytes - Viewed (0) -
docs/de/docs/advanced/middleware.md
```Python hl_lines="2 6" {!../../docs_src/advanced_middleware/tutorial001.py!} ``` ## `TrustedHostMiddleware` Erzwingt, dass alle eingehenden Requests einen korrekt gesetzten `Host`-Header haben, um sich vor HTTP-Host-Header-Angriffen zu schützen. ```Python hl_lines="2 6-8" {!../../docs_src/advanced_middleware/tutorial002.py!} ``` Die folgenden Argumente werden unterstützt:
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/em/docs/advanced/dataclasses.md
✋️ FastAPI 🐕🦺 ⚙️ <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> 🎏 🌌: ```Python hl_lines="1 7-12 19-20" {!../../docs_src/dataclasses/tutorial001.py!} ``` 👉 🐕🦺 👏 **Pydantic**, ⚫️ ✔️ <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">🔗 🐕🦺 `dataclasses`</a>.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/ko/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`).
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/de/docs/tutorial/handling-errors.md
## `HTTPException` verwenden Um HTTP-Responses mit Fehlern zum Client zurückzugeben, verwenden Sie `HTTPException`. ### `HTTPException` importieren ```Python hl_lines="1" {!../../docs_src/handling_errors/tutorial001.py!} ``` ### Eine `HTTPException` in Ihrem Code auslösen
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/index.md
然后,依赖项函数返回包含这些值的 `dict`。 ### 导入 `Depends` ```Python hl_lines="3" {!../../docs_src/dependencies/tutorial001.py!} ``` ### 声明依赖项 与在*路径操作函数*参数中使用 `Body`、`Query` 的方式相同,声明依赖项需要使用 `Depends` 和一个新的参数: ```Python hl_lines="15 20" {!../../docs_src/dependencies/tutorial001.py!} ``` 虽然,在路径操作函数的参数中使用 `Depends` 的方式与 `Body`、`Query` 相同,但 `Depends` 的工作方式略有不同。 这里只能传给 Depends 一个参数。
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python {!> ../../docs_src/security/tutorial001.py!} ``` //// ## Run it /// info
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/pt/docs/advanced/response-cookies.md
Então, defina os cookies nela e a retorne: ```Python hl_lines="10-12" {!../../docs_src/response_cookies/tutorial001.py!} ``` /// tip | Dica Lembre-se de que se você retornar uma resposta diretamente em vez de usar o parâmetro `Response`, FastAPI a retornará diretamente.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Mon Oct 14 09:15:24 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/pt/docs/advanced/response-headers.md
```Python hl_lines="10-12" {!../../docs_src/response_headers/tutorial001.py!} ``` /// note | "Detalhes técnicos" Você também pode usar `from starlette.responses import Response` ou `from starlette.responses import JSONResponse`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Wed Oct 16 07:44:45 UTC 2024 - 2.5K bytes - Viewed (0)