Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for order (0.12 sec)

  1. 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)
  2. docs/en/docs/tutorial/path-params-numeric-validations.md

    But you can re-order them, and have the value without a default (the query parameter `q`) first.
    
    It doesn't matter for **FastAPI**. It will detect the parameters by their names, types and default declarations (`Query`, `Path`, etc), it doesn't care about the order.
    
    So, you can declare your function as:
    
    === "Python 3.8 non-Annotated"
    
        !!! tip
    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)
  3. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Isso não faz diferença para o **FastAPI**. Ele vai detectar os parâmetros pelos seus nomes, tipos e definições padrão (`Query`, `Path`, etc), sem se importar com a ordem.
    
    Então, você pode declarar sua função assim:
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial002.py!}
    ```
    
    ## Ordene os parâmetros de a acordo com sua necessidade, truques
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top