- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Konstanten (0.18 sec)
-
docs/de/docs/reference/status.md
# Statuscodes Sie können das Modul `status` von `fastapi` importieren: ```python from fastapi import status ``` `status` wird direkt von Starlette bereitgestellt. Es enthält eine Gruppe benannter Konstanten (Variablen) mit ganzzahligen Statuscodes. Zum Beispiel: * 200: `status.HTTP_200_OK` * 403: `status.HTTP_403_FORBIDDEN` * usw.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:17:17 GMT 2024 - 934 bytes - Viewed (0) -
docs/de/docs/tutorial/path-operation-configuration.md
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+" ```Python hl_lines="1 15" {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!} ``` === "Python 3.9+"
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/fr/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial006.py!} ``` !!! info Si vous n'avez jamais vu ce `...` auparavant : c'est une des constantes natives de Python <a href="https://docs.python.org/fr/3/library/constants.html#Ellipsis" class="external-link" target="_blank">appelée "Ellipsis"</a>. Cela indiquera à **FastAPI** que la présence de ce paramètre est obligatoire.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:53:21 GMT 2023 - 9.8K bytes - Viewed (0) -
docs/fr/docs/external-links.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Oct 22 07:35:13 GMT 2023 - 1.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
Você pode definir o `status_code` (HTTP) para ser usado na resposta da sua *operação de rota*. Você pode passar diretamente o código `int`, como `404`. Mas se você não se lembrar o que cada código numérico significa, pode usar as constantes de atalho em `status`: === "Python 3.8 and above" ```Python hl_lines="3 17" {!> ../../../docs_src/path_operation_configuration/tutorial001.py!} ``` === "Python 3.9 and above"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.9K bytes - Viewed (0) -
docs/es/docs/external-links.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Feb 02 18:09:12 GMT 2024 - 1.1K bytes - Viewed (0) -
docs/pt/docs/external-links.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Oct 22 07:35:13 GMT 2023 - 1.1K bytes - Viewed (0)