- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for constants (0.27 sec)
-
fastapi/openapi/constants.py
Sebastián Ramírez <******@****.***> 1688749933 +0200
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 153 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/ja/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial006.py!} ``` !!! info "情報" これまで`...`を見たことがない方へ: これは特殊な単一値です。<a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">Pythonの一部であり、"Ellipsis"と呼ばれています</a>。 これは **FastAPI** にこのパラメータが必須であることを知らせます。 ## クエリパラメータのリスト / 複数の値
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 10.5K bytes - Viewed (1) -
docs/em/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial006b.py!} ``` !!! info 🚥 👆 🚫 👀 👈 `...` ⏭: ⚫️ 🎁 👁 💲, ⚫️ <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">🍕 🐍 & 🤙 "❕"</a>. ⚫️ ⚙️ Pydantic & FastAPI 🎯 📣 👈 💲 ✔. 👉 🔜 ➡️ **FastAPI** 💭 👈 👉 🔢 ✔. ### ✔ ⏮️ `None`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial006.py!} ``` !!! info "Informação" Se você nunca viu os `...` antes: é um valor único especial, faz <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">parte do Python e é chamado "Ellipsis"</a>. Dessa forma o **FastAPI** saberá que o parâmetro é obrigatório. ## Lista de parâmetros de consulta / múltiplos valores
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 9.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial006b.py!} ``` !!! info 如果你之前没见过 `...` 这种用法:它是一个特殊的单独值,它是 <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">Python 的一部分并且被称为「省略号」</a>。 Pydantic 和 FastAPI 使用它来显式的声明需要一个值。 这将使 **FastAPI** 知道此查询参数是必需的。 ### 使用`None`声明必需参数
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/en/docs/reference/status.md
# Status Codes You can import the `status` module from `fastapi`: ```python from fastapi import status ``` `status` is provided directly by Starlette. It contains a group of named constants (variables) with integer status codes. For example: * 200: `status.HTTP_200_OK` * 403: `status.HTTP_403_FORBIDDEN` * etc.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 871 bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
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" {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="3 17"
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/ru/docs/tutorial/query-params-str-validations.md
``` !!! info "Дополнительная информация" Если вы ранее не сталкивались с `...`: это специальное значение, <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">часть языка Python и называется "Ellipsis"</a>. Используется в Pydantic и FastAPI для определения, что значение требуется обязательно.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 38K bytes - Viewed (0) -
docs/en/docs/external-links.md
# External Links and Articles **FastAPI** has a great community constantly growing. There are many posts, articles, tools, and projects, related to **FastAPI**. Here's an incomplete list of some of them. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Oct 22 07:35:13 GMT 2023 - 1K bytes - Viewed (0)