- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 877 for tutorial002 (0.14 sec)
-
docs/de/docs/tutorial/handling-errors.md
Aber falls es in einem fortgeschrittenen Szenario notwendig ist, können Sie benutzerdefinierte Header wie folgt hinzufügen: ```Python hl_lines="14" {!../../docs_src/handling_errors/tutorial002.py!} ``` ## Benutzerdefinierte Exceptionhandler definieren
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/en/docs/tutorial/handling-errors.md
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/de/docs/tutorial/extra-models.md
{!> ../../docs_src/extra_models/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9 15-16 19-20 23-24" {!> ../../docs_src/extra_models/tutorial002.py!} ``` //// ## `Union`, oder `anyOf`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/de/docs/tutorial/background-tasks.md
```Python hl_lines="6-9" {!../../docs_src/background_tasks/tutorial001.py!} ``` ## Den Hintergrundtask hinzufügen Übergeben Sie innerhalb Ihrer *Pfadoperation-Funktion* Ihre Taskfunktion mit der Methode `.add_task()` an das *Hintergrundtasks*-Objekt: ```Python hl_lines="14" {!../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` erhält als Argumente:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params-numeric-validations.md
//// tab | Python 3.8 без Annotated /// tip | "Подсказка" Рекомендуется использовать версию с `Annotated` если возможно. /// ```Python hl_lines="7" {!> ../../docs_src/path_params_numeric_validations/tutorial002.py!} ``` //// Но имейте в виду, что если вы используете `Annotated`, вы не столкнётесь с этой проблемой, так как вы не используете `Query()` или `Path()` в качестве значения по умолчанию для параметра функции.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (0) -
docs/tr/docs/tutorial/path-params.md
```Python hl_lines="17" {!../../docs_src/path_params/tutorial005.py!} ``` #### *Enumeration Değerini* Edinelim `model_name.value` veya genel olarak `your_enum_member.value` tanımlarını kullanarak (bu durumda bir `str` olan) gerçek değere ulaşabilirsiniz: ```Python hl_lines="20" {!../../docs_src/path_params/tutorial005.py!} ``` /// tip | "İpucu"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-params-numeric-validations.md
まず初めに、`fastapi`から`Path`をインポートします: ```Python hl_lines="1" {!../../docs_src/path_params_numeric_validations/tutorial001.py!} ``` ## メタデータの宣言 パラメータは`Query`と同じものを宣言することができます。 例えば、パスパラメータ`item_id`に対して`title`のメタデータを宣言するには以下のようにします: ```Python hl_lines="8" {!../../docs_src/path_params_numeric_validations/tutorial001.py!} ``` /// note | "備考" パスの一部でなければならないので、パスパラメータは常に必須です。 そのため、`...`を使用して必須と示す必要があります。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/em/docs/tutorial/body.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
```Python hl_lines="2 6-38 41-43" {!../../docs_src/websockets/tutorial001.py!} ``` ## Create a `websocket` In your **FastAPI** application, create a `websocket`: ```Python hl_lines="1 46-47" {!../../docs_src/websockets/tutorial001.py!} ``` /// note | "Technical Details" You could also use `from starlette.websockets import WebSocket`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.3K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
{!> ../../docs_src/extra_models/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9 15-16 19-20 23-24" {!> ../../docs_src/extra_models/tutorial002.py!} ``` //// ## `Union` or `anyOf` You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0)