- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 63 for line_length (0.42 sec)
-
docs/ja/docs/tutorial/query-params-str-validations.md
```Python q: Union[str, None] = Query(default=None, max_length=50) ``` これにより、データを検証し、データが有効でない場合は明確なエラーを表示し、OpenAPIスキーマの *path operation* にパラメータを記載します。 ## バリデーションをさらに追加する パラメータ`min_length`も追加することができます: {* ../../docs_src/query_params_str_validations/tutorial003.py hl[10] *} ## 正規表現の追加 パラメータが一致するべき<abbr title="正規表現とは、文字列の検索パターンを定義する文字列です。">正規表現</abbr>を定義することができます:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
## Больше валидаций { #add-more-validations } Можно также добавить параметр `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Регулярные выражения { #add-regular-expressions }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 26.2K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py
{ "type": "string_too_short", "loc": ["query", "q"], "msg": "String should have at least 3 characters", "input": "qu", "ctx": {"min_length": 3}, } ] } def test_query_params_str_validations_q_too_long(client: TestClient): response = client.get("/items/", params={"q": "q" * 51}) assert response.status_code == 422Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.1K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py
{ "type": "string_too_short", "loc": ["query", "q"], "msg": "String should have at least 3 characters", "input": "fa", "ctx": {"min_length": 3}, } ] } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params-str-validations.md
## Mehr Validierungen hinzufügen { #add-more-validations } Sie können auch einen `min_length`-Parameter hinzufügen: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Reguläre Ausdrücke hinzufügen { #add-regular-expressions }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 19.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
## Adicione mais validações { #add-more-validations } Você também pode adicionar um parâmetro `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Adicione expressões regulares { #add-regular-expressions }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 18.2K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py
{ "type": "string_too_short", "loc": ["query", "q"], "msg": "String should have at least 3 characters", "input": "fa", "ctx": {"min_length": 3}, } ] } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params-str-validations.md
## Agregar más validaciones { #add-more-validations } También puedes agregar un parámetro `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Agregar expresiones regulares { #add-regular-expressions }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 18.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
tests/test_path.py
"type": "string_too_short", "loc": ["path", "item_id"], "msg": "String should have at least 3 characters", "input": "fo", "ctx": {"min_length": 3}, } ] } def test_path_param_maxlength_foo(): response = client.get("/path/param-maxlength/foo") assert response.status_code == 200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 20.5K bytes - Viewed (2)