- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 580 for url_lines (0.07 sec)
-
docs/zh/docs/tutorial/query-params-str-validations.md
# 查询参数和字符串校验 **FastAPI** 允许你为参数声明额外的信息和校验。 让我们以下面的应用程序为例: //// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/query_params_str_validations/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/query_params_str_validations/tutorial001.py!} ``` //// 查询参数 `q` 的类型为 `str`,默认值为 `None`,因此它是可选的。 ## 额外的校验
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params-str-validations.md
//// tab | Python 3.10+ ```Python hl_lines="10" {!> ../../docs_src/query_params_str_validations/tutorial003_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="10" {!> ../../docs_src/query_params_str_validations/tutorial003_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="11"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 27.2K bytes - Viewed (0) -
docs/de/docs/tutorial/request-forms-and-files.md
Z. B. `pip install python-multipart`. /// ## `File` und `Form` importieren //// tab | Python 3.9+ ```Python hl_lines="3" {!> ../../docs_src/request_forms_and_files/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1" {!> ../../docs_src/request_forms_and_files/tutorial001_an.py!} ``` //// //// tab | Python 3.8+ nicht annotiert
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/cookie-param-models.md
//// tab | Python 3.10+ ```Python hl_lines="9-12 16" {!> ../../docs_src/cookie_param_models/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="9-12 16" {!> ../../docs_src/cookie_param_models/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="10-13 17" {!> ../../docs_src/cookie_param_models/tutorial001_an.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 07 20:18:07 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/header-params.md
//// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/header_params/tutorial003_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="9" {!> ../../docs_src/header_params/tutorial003_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/header_params/tutorial003.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params-str-validations.md
`q`はオプショナルですが、もし値が渡されてきた場合には、**50文字を超えないこと**を強制してみましょう。 ### `Query`のインポート そのために、まずは`fastapi`から`Query`をインポートします: ```Python hl_lines="3" {!../../docs_src/query_params_str_validations/tutorial002.py!} ``` ## デフォルト値として`Query`を使用 パラメータのデフォルト値として使用し、パラメータ`max_length`を50に設定します: ```Python hl_lines="9" {!../../docs_src/query_params_str_validations/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params-numeric-validations.md
## 경로 임포트 먼저 `fastapi`에서 `Path`를 임포트합니다: ```Python hl_lines="3" {!../../docs_src/path_params_numeric_validations/tutorial001.py!} ``` ## 메타데이터 선언 `Query`에 동일한 매개변수를 선언할 수 있습니다. 예를 들어, `title` 메타데이터 값을 경로 매개변수 `item_id`에 선언하려면 다음과 같이 입력할 수 있습니다: ```Python hl_lines="10" {!../../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 - 5.5K bytes - Viewed (0) -
docs/en/docs/tutorial/request-forms-and-files.md
```console $ pip install python-multipart ``` /// ## Import `File` and `Form` //// tab | Python 3.9+ ```Python hl_lines="3" {!> ../../docs_src/request_forms_and_files/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1" {!> ../../docs_src/request_forms_and_files/tutorial001_an.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/query-params.md
查询参数的值就是: * `skip=20`:在 URL 中设定的值 * `limit=10`:使用默认值 ## 可选参数 同理,把默认值设为 `None` 即可声明**可选的**查询参数: //// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/query_params/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/query_params/tutorial002.py!} ``` //// 本例中,查询参数 `q` 是可选的,默认值为 `None`。 /// check | "检查"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K bytes - Viewed (0) -
docs/em/docs/tutorial/metadata.md
✍ 🗃 👆 🔖 & 🚶♀️ ⚫️ `openapi_tags` 🔢: ```Python hl_lines="3-16 18" {!../../docs_src/metadata/tutorial004.py!} ``` 👀 👈 👆 💪 ⚙️ ✍ 🔘 📛, 🖼 "💳" 🔜 🎦 🦁 (**💳**) & "🎀" 🔜 🎦 ❕ (_🎀_). /// tip 👆 🚫 ✔️ 🚮 🗃 🌐 🔖 👈 👆 ⚙️. /// ### ⚙️ 👆 🔖 ⚙️ `tags` 🔢 ⏮️ 👆 *➡ 🛠️* (& `APIRouter`Ⓜ) 🛠️ 👫 🎏 🔖: ```Python hl_lines="21 26" {!../../docs_src/metadata/tutorial004.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0)