- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,488 for Nath (0.18 sec)
-
docs/en/docs/tutorial/path-operation-configuration.md
# Path Operation Configuration There are several parameters that you can pass to your *path operation decorator* to configure it. !!! warning Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*. ## Response Status Code You can define the (HTTP) `status_code` to be used in the response of your *path operation*. You can pass directly the `int` code, like `404`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.5K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-operation-configuration.md
# Path Operationの設定 *path operationデコレータ*を設定するためのパラメータがいくつかあります。 !!! warning "注意" これらのパラメータは*path operation関数*ではなく、*path operationデコレータ*に直接渡されることに注意してください。 ## レスポンスステータスコード *path operation*のレスポンスで使用する(HTTP)`status_code`を定義することができます。 `404`のように`int`のコードを直接渡すことができます。 しかし、それぞれの番号コードが何のためのものか覚えていない場合は、`status`のショートカット定数を使用することができます: ```Python hl_lines="3 17" {!../../../docs_src/path_operation_configuration/tutorial001.py!}
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 04:38:26 GMT 2024 - 4.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-operation-configuration.md
```Python hl_lines="17 22 27" {!../../../docs_src/path_operation_configuration/tutorial002.py!} ``` 전달된 태그들은 OpenAPI의 스키마에 추가되며, 자동 문서 인터페이스에서 사용됩니다: <img src="/img/tutorial/path-operation-configuration/image01.png"> ## 요약과 기술 `summary`와 `description`을 추가할 수 있습니다: ```Python hl_lines="20-21" {!../../../docs_src/path_operation_configuration/tutorial003.py!} ``` ## 독스트링으로 만든 기술
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params-numeric-validations.md
# Path-параметры и валидация числовых данных Так же, как с помощью `Query` вы можете добавлять валидацию и метаданные для query-параметров, так и с помощью `Path` вы можете добавлять такую же валидацию и метаданные для path-параметров. ## Импорт Path Сначала импортируйте `Path` из `fastapi`, а также импортируйте `Annotated`: === "Python 3.10+" ```Python hl_lines="1 3"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 14.2K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`. You should do it after adding all your *path operations*. ```Python hl_lines="2 12-21 24" {!../../../docs_src/path_operation_advanced_configuration/tutorial002.py!} ``` !!! tip
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params-numeric-validations.md
So wie Sie mit `Query` für Query-Parameter zusätzliche Validierungen und Metadaten hinzufügen können, können Sie das mittels `Path` auch für Pfad-Parameter tun. ## `Path` importieren Importieren Sie zuerst `Path` von `fastapi`, und importieren Sie `Annotated`. === "Python 3.10+" ```Python hl_lines="1 3" {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!} ``` === "Python 3.9+"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 17:59:29 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/es/docs/advanced/path-operation-advanced-configuration.md
### Usando el nombre de la *función de la operación de path* en el operationId Si quieres usar tus nombres de funciones de API como `operationId`s, puedes iterar sobre todos ellos y sobrescribir `operation_id` de cada *operación de path* usando su `APIRoute.name`. Deberías hacerlo después de adicionar todas tus *operaciones de path*. ```Python hl_lines="2 12 13 14 15 16 17 18 19 20 21 24" {!../../../docs_src/path_operation_advanced_configuration/tutorial002.py!}
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Jul 04 12:49:31 GMT 2021 - 2.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params-numeric-validations.md
## Importe `Path` Primeiro, importe `Path` de `fastapi`: === "Python 3.10+" ```Python hl_lines="1" {!> ../../../docs_src/path_params_numeric_validations/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="3" {!> ../../../docs_src/path_params_numeric_validations/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.6K bytes - Viewed (0) -
docs/ja/docs/advanced/path-operation-advanced-configuration.md
# Path Operationの高度な設定 ## OpenAPI operationId !!! warning "注意" あなたがOpenAPIの「エキスパート」でなければ、これは必要ないかもしれません。 *path operation* で `operation_id` パラメータを利用することで、OpenAPIの `operationId` を設定できます。 `operation_id` は各オペレーションで一意にする必要があります。 ```Python hl_lines="6" {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!} ``` ### *path operation関数* の名前をoperationIdとして使用する
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Jan 09 18:40:27 GMT 2021 - 2.3K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
# Path Parameters and Numeric Validations In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`. ## Import Path First, import `Path` from `fastapi`, and import `Annotated`: === "Python 3.10+" ```Python hl_lines="1 3" {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 9.1K bytes - Viewed (0)