Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Ge (0.15 sec)

  1. fastapi/params.py

            kwargs = dict(
                default=default,
                default_factory=default_factory,
                alias=alias,
                title=title,
                description=description,
                gt=gt,
                ge=ge,
                lt=lt,
                le=le,
                min_length=min_length,
                max_length=max_length,
                discriminator=discriminator,
                multiple_of=multiple_of,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  2. fastapi/param_functions.py

            alias_priority=alias_priority,
            validation_alias=validation_alias,
            serialization_alias=serialization_alias,
            title=title,
            description=description,
            gt=gt,
            ge=ge,
            lt=lt,
            le=le,
            min_length=min_length,
            max_length=max_length,
            pattern=pattern,
            regex=regex,
            discriminator=discriminator,
            strict=strict,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  3. docs_src/path_params_numeric_validations/tutorial006_an.py

    from typing_extensions import Annotated
    
    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=0, le=1000)],
        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 405 bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    ## ๐Ÿ”ข ๐Ÿ”ฌ: ๐Ÿ‘‘ ๐ŸŒ˜ โš–๏ธ ๐ŸŒ“
    
    โฎ๏ธ `Query` & `Path` (& ๐ŸŽ ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ โช) ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ”ข โš›.
    
    ๐Ÿ“ฅ, โฎ๏ธ `ge=1`, `item_id` ๐Ÿ”œ ๐Ÿ’ช ๐Ÿ”ข ๐Ÿ”ข "`g`๐Ÿ…พ ๐ŸŒ˜ โš–๏ธ `e`๐Ÿ…พ" `1`.
    
    ```Python hl_lines="8"
    {!../../../docs_src/path_params_numeric_validations/tutorial004.py!}
    ```
    
    ## ๐Ÿ”ข ๐Ÿ”ฌ: ๐ŸŒ˜ ๐ŸŒ˜ & ๐ŸŒ˜ ๐ŸŒ˜ โš–๏ธ ๐ŸŒ“
    
    ๐ŸŽ โœ”:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial001.py

        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: Union[str, None] = None,
        item: Union[Item, None] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if item:
            results.update({"item": item})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 596 bytes
    - Viewed (0)
  6. tests/test_application.py

                                    }
                                },
                            },
                        },
                        "summary": "Get Path Param Ge",
                        "operationId": "get_path_param_ge_path_param_ge__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  7. docs_src/body_multiple_params/tutorial001_py310.py

        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: 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})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 546 bytes
    - Viewed (0)
  8. 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})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 579 bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-params-numeric-validations.md

        ```
    
    ## Validierung von Zahlen: GrรถรŸer oder gleich
    
    Mit `Query` und `Path` (und anderen, die Sie spรคter kennenlernen), kรถnnen Sie Zahlenbeschrรคnkungen deklarieren.
    
    Hier, mit `ge=1`, wird festgelegt, dass `item_id` eine Ganzzahl benรถtigt, die grรถรŸer oder gleich `1` ist (`g`reater than or `e`qual).
    === "Python 3.9+"
    
        ```Python hl_lines="10"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. fastapi/openapi/models.py

        maxLength: Optional[int] = Field(default=None, ge=0)
        minLength: Optional[int] = Field(default=None, ge=0)
        pattern: Optional[str] = None
        maxItems: Optional[int] = Field(default=None, ge=0)
        minItems: Optional[int] = Field(default=None, ge=0)
        uniqueItems: Optional[bool] = None
        maxContains: Optional[int] = Field(default=None, ge=0)
        minContains: Optional[int] = Field(default=None, ge=0)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top