- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for ge (0.01 sec)
-
tests/main.py
return item_id @app.get("/path/param-ge-int/{item_id}") def get_path_param_ge_int(item_id: int = Path(ge=3)): return item_id @app.get("/path/param-lt-gt-int/{item_id}") def get_path_param_lt_gt_int(item_id: int = Path(lt=3, gt=1)): return item_id @app.get("/path/param-le-ge-int/{item_id}") def get_path_param_le_ge_int(item_id: int = Path(le=3, ge=1)): return item_id
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 4.5K bytes - Viewed (0) -
build-logic-settings/settings.gradle.kts
val rcAndMilestonesPattern = "\\d{1,2}?\\.\\d{1,2}?(\\.\\d{1,2}?)?-((rc-\\d{1,2}?)|(milestone-\\d{1,2}?))" // GE plugin marker artifact includeVersionByRegex("com.gradle.develocity", "com.gradle.develocity.gradle.plugin", rcAndMilestonesPattern) // GE plugin jar includeVersionByRegex("com.gradle", "develocity-gradle-plugin", rcAndMilestonesPattern) } }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 10 16:27:16 UTC 2025 - 1.8K bytes - Viewed (0) -
.gitignore
# Thread dumps for troubleshooting *.threaddump # ps output for cleaning up leaking Java processes *.psoutput # oh-my-zsh gradle plugin .gradletasknamecache # Added GE support maven support to the maven build in .teamcity, per the GE docs, this dir is NOT to be committed .teamcity/.mvn/.develocity/ /discoclient.properties
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Nov 11 20:35:18 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *} ## 数值校验:大于等于 使用 `Query` 和 `Path`(以及你将在后面看到的其他类)可以声明字符串约束,但也可以声明数值约束。 像下面这样,添加 `ge=1` 后,`item_id` 将必须是一个大于(`g`reater than)或等于(`e`qual)`1` 的整数。 {* ../../docs_src/path_params_numeric_validations/tutorial004.py hl[8] *} ## 数值校验:大于和小于等于 同样的规则适用于: * `gt`:大于(`g`reater `t`han)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.6K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial006_py39.py
from fastapi import FastAPI, Path, Query app = FastAPI() @app.get("/items/{item_id}") async def read_items( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str, size: float = Query(gt=0, lt=10.5), ): results = {"item_id": item_id} if q: results.update({"q": q}) if size: results.update({"size": size})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 397 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_an_py310.py
from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 483 bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
## Number validations: greater than or equal { #number-validations-greater-than-or-equal } With `Query` and `Path` (and others you'll see later) you can declare number constraints. Here, with `ge=1`, `item_id` will need to be an integer number "`g`reater than or `e`qual" to `1`. {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
build-logic-commons/settings.gradle.kts
val rcAndMilestonesPattern = "\\d{1,2}?\\.\\d{1,2}?(\\.\\d{1,2}?)?-((rc-\\d{1,2}?)|(milestone-\\d{1,2}?))" // GE plugin marker artifact includeVersionByRegex("com.gradle.develocity", "com.gradle.develocity.gradle.plugin", rcAndMilestonesPattern) // GE plugin jar includeVersionByRegex("com.gradle", "develocity-gradle-plugin", rcAndMilestonesPattern) } }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon May 19 17:09:05 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *} ## 숫자 검증: 크거나 같음 `Query`와 `Path`(나중에 볼 다른 것들도)를 사용하여 문자열 뿐만 아니라 숫자의 제약을 선언할 수 있습니다. 여기서 `ge=1`인 경우, `item_id`는 `1`보다 "크거나(`g`reater) 같은(`e`qual)" 정수형 숫자여야 합니다. {* ../../docs_src/path_params_numeric_validations/tutorial004.py hl[8] *} ## 숫자 검증: 크거나 같음 및 작거나 같음 동일하게 적용됩니다: * `gt`: 크거나(`g`reater `t`han)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.4K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial004_an_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 317 bytes - Viewed (0)