Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for ge (0.01 seconds)

  1. 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
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  2. 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)
                }
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:57 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. .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
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 16:15:24 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003_an_py310.py hl[10] *}
    
    ## 숫자 검증: 크거나 같음 { #number-validations-greater-than-or-equal }
    
    `Query`와 `Path`(그리고 나중에 볼 다른 것들)를 사용하여 숫자 제약을 선언할 수 있습니다.
    
    여기서 `ge=1`인 경우, `item_id`는 `1`보다 "`g`reater than or `e`qual"(크거나 같은) 정수형 숫자여야 합니다.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. 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()]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 483 bytes
    - Click Count (0)
  6. docs_src/body_multiple_params/tutorial001_an_py310.py

        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
            results.update({"item": item})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 579 bytes
    - Click Count (0)
  7. 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_py310.py hl[10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. docs_src/query_param_models/tutorial001_an_py310.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        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()]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 443 bytes
    - Click Count (0)
  9. docs_src/path_params_numeric_validations/tutorial004_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=1)], q: str
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 317 bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003_an_py310.py hl[10] *}
    
    ## 數值驗證:大於或等於 { #number-validations-greater-than-or-equal }
    
    使用 `Query` 和 `Path`(以及你之後會看到的其他類別)可以宣告數值限制。
    
    這裡用 `ge=1`,代表 `item_id` 必須是「大於(`g`reater)或等於(`e`qual)」`1` 的整數。
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}
    
    ## 數值驗證:大於與小於或等於 { #number-validations-greater-than-and-less-than-or-equal }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top