Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pathes (0.81 sec)

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

    ```
    /files/{file_path:path}
    ```
    
    Nesse caso, o nome do parâmetro é `file_path`, e a última parte, `:path`, diz que o parâmetro deveria coincidir com qualquer *rota*.
    
    Então, você poderia usar ele com:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "Dica"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/path-params.md

    ```
    /files/{file_path:path}
    ```
    
    Dans ce cas, le nom du paramètre est `file_path`, et la dernière partie, `:path`, indique à Starlette que le paramètre devrait correspondre à un *chemin*.
    
    Vous pouvez donc l'utilisez comme tel :
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "Astuce"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top