Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for validation (0.24 sec)

  1. docs/de/docs/tutorial/path-params-numeric-validations.md

        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3-4"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    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)
  2. docs/ru/docs/tutorial/path-params-numeric-validations.md

        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3-4"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ без Annotated"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

        {!> ../../../docs_src/path_params_numeric_validations/tutorial006.py!}
        ```
    
    ## Recap
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}.
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/path-params-numeric-validations.md

    まず初めに、`fastapi`から`Path`をインポートします:
    
    ```Python hl_lines="1"
    {!../../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ## メタデータの宣言
    
    パラメータは`Query`と同じものを宣言することができます。
    
    例えば、パスパラメータ`item_id`に対して`title`のメタデータを宣言するには以下のようにします:
    
    ```Python hl_lines="8"
    {!../../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    !!! note "備考"
        パスの一部でなければならないので、パスパラメータは常に必須です。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:46:32 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top