- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 102 for min_length (0.06 seconds)
-
docs/fr/docs/tutorial/query-params-str-validations.md
Validateurs et métadonnées génériques: * `alias` * `title` * `description` * `deprecated` Validateurs spécifiques aux chaînes de caractères : * `min_length` * `max_length` * `regex` Parmi ces exemples, vous avez pu voir comment déclarer des validateurs pour les chaînes de caractères.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 9.5K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial010_an_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 635 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial010_py39.py
default=None, alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50, pattern="^fixedquery$", deprecated=True, ), ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q})Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 574 bytes - Click Count (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 == 422Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.1K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial006c_an_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 15 16:23:59 GMT 2025 - 314 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial007_an_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 337 bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial005.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.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.3K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial008_an_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 498 bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial007.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.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.6K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.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.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5K bytes - Click Count (0)