- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 874 for tutorial001 (0.08 sec)
-
docs/de/docs/tutorial/request-forms.md
``` //// //// tab | Python 3.8+ nicht annotiert /// tip | "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. /// ```Python hl_lines="1" {!> ../../docs_src/request_forms/tutorial001.py!} ``` //// ## `Form`-Parameter definieren Erstellen Sie Formular-Parameter, so wie Sie es auch mit `Body` und `Query` machen würden: //// tab | Python 3.9+ ```Python hl_lines="9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/em/docs/tutorial/middleware.md
* 👉 🔢 🔜 🚶♀️ `request` 🔗 *➡ 🛠️*. * ⤴️ ⚫️ 📨 `response` 🏗 🔗 *➡ 🛠️*. * 👆 💪 ⤴️ 🔀 🌅 `response` ⏭ 🛬 ⚫️. ```Python hl_lines="8-9 11 14" {!../../docs_src/middleware/tutorial001.py!} ``` /// tip ✔️ 🤯 👈 🛃 © 🎚 💪 🚮 <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">⚙️ '✖-' 🔡</a>.
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/pt/docs/tutorial/cookie-params.md
``` //// //// tab | Python 3.8+ non-Annotated /// tip | Dica Prefira utilizar a versão `Annotated` se possível. /// ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001.py!} ``` //// ## Declare parâmetros de `Cookie` Então declare os paramêtros de cookie usando a mesma estrutura que em `Path` e `Query`.
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/pt/docs/how-to/custom-docs-ui-assets.md
Para desativá-los, defina suas URLs como `None` ao criar seu aplicativo `FastAPI`: ```Python hl_lines="8" {!../../docs_src/custom_docs_ui/tutorial001.py!} ``` ### Incluir a documentação personalizada Agora você pode criar as *operações de rota* para a documentação personalizada.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 18 12:02:35 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
The first step is to disable the automatic docs, as by default, those use the default CDN. To disable them, set their URLs to `None` when creating your `FastAPI` app: {* ../../docs_src/custom_docs_ui/tutorial001.py hl[8] *} ### Include the custom docs Now you can create the *path operations* for the custom docs.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:42:34 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/em/docs/tutorial/body-multiple-params.md
🥇, ↗️, 👆 💪 🌀 `Path`, `Query` & 📨 💪 🔢 📄 ➡ & **FastAPI** 🔜 💭 ⚫️❔. & 👆 💪 📣 💪 🔢 📦, ⚒ 🔢 `None`: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="19-21" {!> ../../docs_src/body_multiple_params/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="17-19" {!> ../../docs_src/body_multiple_params/tutorial001_py310.py!} ``` //// /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K bytes - Viewed (0) -
docs/ja/docs/advanced/custom-response.md
/// ```Python hl_lines="2 7" {!../../docs_src/custom_response/tutorial001.py!} ``` /// tip | "豆知識" `ORJSONResponse` のほうが高速な代替かもしれません。 /// ### `RedirectResponse` HTTPリダイレクトを返します。デフォルトでは307ステータスコード (Temporary Redirect) となります。 ```Python hl_lines="2 9" {!../../docs_src/custom_response/tutorial006.py!} ``` ### `StreamingResponse`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
docs/ko/docs/python-types.md
간단한 예제부터 시작해봅시다: ```Python {!../../docs_src/python_types/tutorial001.py!} ``` 이 프로그램을 실행한 결과값: ``` John Doe ``` 함수는 아래와 같이 실행됩니다: * `first_name`과 `last_name`를 받습니다. * `title()`로 각 첫 문자를 대문자로 변환시킵니다. * 두 단어를 중간에 공백을 두고 <abbr title="두 개를 하나로 차례차례 이어지게 하다">연결</abbr>합니다. ```Python hl_lines="2" {!../../docs_src/python_types/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) -
docs/zh/docs/tutorial/handling-errors.md
```Python hl_lines="14" {!../../docs_src/handling_errors/tutorial002.py!} ``` ## 安装自定义异常处理器 添加自定义处理器,要使用 [Starlette 的异常工具](https://www.starlette.io/exceptions/)。 假设要触发的自定义异常叫作 `UnicornException`。 且需要 FastAPI 实现全局处理该异常。 此时,可以用 `@app.exception_handler()` 添加自定义异常控制器: ```Python hl_lines="5-7 13-18 24" {!../../docs_src/handling_errors/tutorial003.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.4K bytes - Viewed (0)