Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Chaves (0.2 sec)

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

    Passe `*`, como o primeiro parâmetro da função.
    
    O Python não vai fazer nada com esse `*`, mas ele vai saber que a partir dali os parâmetros seguintes deverão ser chamados argumentos nomeados (pares chave-valor), também conhecidos como <abbr title="Do inglês: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Mesmo que eles não possuam um valor padrão.
    
    ```Python hl_lines="7"
    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)
  2. docs/en/docs/tutorial/path-params-numeric-validations.md

    But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason.
    
    Python will complain if you put a value with a "default" before a value that doesn't have a "default".
    
    But you can re-order them, and have the value without a default (the query parameter `q`) first.
    
    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)
Back to top