- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,034 for _code (0.35 sec)
-
docs/en/docs/tutorial/path-operation-configuration.md
## 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`. But if you don't remember what each number code is for, you can use the shortcut constants in `status`: === "Python 3.10+" ```Python hl_lines="1 15"
Plain Text - Registered: Sun May 05 07:19:11 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デコレータ*を設定するためのパラメータがいくつかあります。 !!! 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 May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 04:38:26 GMT 2024 - 4.3K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-status-codes.md
Mais vous voulez aussi qu'il accepte de nouveaux éléments. Et lorsque les éléments n'existaient pas auparavant, il les crée et renvoie un code HTTP de 201 "Créé". Pour y parvenir, importez `JSONResponse` et renvoyez-y directement votre contenu, en définissant le `status_code` que vous souhaitez : ```Python hl_lines="4 25" {!../../../docs_src/additional_status_codes/tutorial001.py!} ``` !!! warning "Attention"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.3K bytes - Viewed (0) -
docs/de/docs/advanced/additional-status-codes.md
Um dies zu erreichen, importieren Sie `JSONResponse`, und geben Sie Ihren Inhalt direkt zurück, indem Sie den gewünschten `status_code` setzen: === "Python 3.10+" ```Python hl_lines="4 25" {!> ../../../docs_src/additional_status_codes/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="4 25"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 13:04:57 GMT 2024 - 3K bytes - Viewed (0) -
docs/de/docs/tutorial/path-operation-configuration.md
## Response-Statuscode Sie können den (HTTP-)`status_code` definieren, den die Response Ihrer *Pfadoperation* verwenden soll. Sie können direkt den `int`-Code übergeben, etwa `404`. Aber falls Sie sich nicht mehr erinnern, wofür jede Nummer steht, können Sie die Abkürzungs-Konstanten in `status` verwenden: === "Python 3.10+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:07:48 GMT 2024 - 5.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
!!! warning "Внимание" Помните, что эти параметры передаются непосредственно *декоратору операций пути*, а не вашей *функции-обработчику операций пути*. ## Коды состояния Вы можете определить (HTTP) `status_code`, который будет использован в ответах вашей *операции пути*. Вы можете передать только `int`-значение кода, например `404`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 8K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
```Python hl_lines="19-29" {!../../../docs_src/path_operation_advanced_configuration/tutorial004.py!} ``` ## Additional Responses You probably have seen how to declare the `response_model` and `status_code` for a *path operation*. That defines the metadata about the main response of a *path operation*. You can also declare additional responses with their models, status codes, etc.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
## Combinaison d'informations Vous pouvez également combiner des informations de réponse provenant de plusieurs endroits, y compris les paramètres `response_model`, `status_code` et `responses`. Vous pouvez déclarer un `response_model`, en utilisant le code HTTP par défaut `200` (ou un code personnalisé si vous en avez besoin), puis déclarer des informations supplémentaires pour cette même réponse dans `responses`, directement dans le schéma OpenAPI.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/de/docs/advanced/path-operation-advanced-configuration.md
```Python hl_lines="19-29" {!../../../docs_src/path_operation_advanced_configuration/tutorial004.py!} ``` ## Zusätzliche Responses Sie haben wahrscheinlich gesehen, wie man das `response_model` und den `status_code` für eine *Pfadoperation* deklariert. Das definiert die Metadaten der Haupt-Response einer *Pfadoperation*. Sie können auch zusätzliche Responses mit deren Modellen, Statuscodes usw. deklarieren.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:27:23 GMT 2024 - 8.5K bytes - Viewed (0) -
api/go1.19.txt
pkg debug/pe, const IMAGE_FILE_MACHINE_LOONGARCH64 = 25188 #46229 pkg debug/pe, const IMAGE_FILE_MACHINE_LOONGARCH64 ideal-int #46229 pkg debug/pe, const IMAGE_SCN_CNT_CODE = 32 #51868 pkg debug/pe, const IMAGE_SCN_CNT_CODE ideal-int #51868 pkg debug/pe, const IMAGE_SCN_CNT_INITIALIZED_DATA = 64 #51868 pkg debug/pe, const IMAGE_SCN_CNT_INITIALIZED_DATA ideal-int #51868
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 17.9K bytes - Viewed (1)