- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 49 for line_length (0.07 seconds)
-
docs/zh-hant/docs/tutorial/query-params-str-validations.md
因為 `Annotated` 可以有多個中繼資料註解,你甚至可以用同一個函式配合其他工具,例如 [Typer](https://typer.tiangolo.com/)。🚀 ## 加入更多驗證 { #add-more-validations } 你也可以加入 `min_length` 參數: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## 加入正規表示式 { #add-regular-expressions }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial006c_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 15 16:23:59 GMT 2025 - 301 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial003_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 330 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial004_an_py310.py
from typing import Annotated from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ str | None, Query(min_length=3, max_length=50, pattern="^fixedquery$") ] = None, ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 368 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial010_py310.py
q: str | None = Query( 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 542 bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle.xml
suppress the check there but enforce it everywhere else. This prevents the list from getting longer even if it is unfair. --> <module name="LineLength"> <property name="max" value="140" /> <property name="ignorePattern" value="^ *\* *https?://[^ ]+$" /> </module> <module name="TreeWalker">Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 12:48:46 GMT 2021 - 6K bytes - Click Count (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 }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 25.1K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 14:10:21 GMT 2025 - 1.5K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial006_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 254 bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
## Add more validations { #add-more-validations } You can also add a parameter `min_length`: {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *} ## Add regular expressions { #add-regular-expressions }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 16.3K bytes - Click Count (0)