Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for tutorial001_an_py39 (0.24 sec)

  1. docs/pt/docs/tutorial/request-files.md

    ///
    
    ## Importe `File`
    
    Importe `File` e `UploadFile` de `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Definir Parâmetros `File`
    
    Crie parâmetros de arquivo da mesma forma que você faria para `Body` ou `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Informação
    
    `File` é uma classe que herda diretamente de `Form`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/header-param-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="9-14  18"
    {!> ../../docs_src/header_param_models/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9-14  18"
    {!> ../../docs_src/header_param_models/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10-15  19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003_an_py39.py hl[10] *}
    
    ## Validations numériques : supérieur ou égal
    
    Avec `Query` et `Path` (et d'autres que vous verrez plus tard) vous pouvez déclarer des contraintes numériques.
    
    Ici, avec `ge=1`, `item_id` devra être un nombre entier "`g`reater than or `e`qual" à `1`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pyproject.toml

    "docs_src/dependencies/tutorial008_an.py" = ["F821"]
    "docs_src/dependencies/tutorial008_an_py39.py" = ["F821"]
    "docs_src/query_params_str_validations/tutorial012_an.py" = ["B006"]
    "docs_src/query_params_str_validations/tutorial012_an_py39.py" = ["B006"]
    "docs_src/query_params_str_validations/tutorial013_an.py" = ["B006"]
    "docs_src/query_params_str_validations/tutorial013_an_py39.py" = ["B006"]
    "docs_src/security/tutorial004.py" = ["B904"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 14:19:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/http-basic-auth.md

    * Use that `security` with a dependency in your *path operation*.
    * It returns an object of type `HTTPBasicCredentials`:
        * It contains the `username` and `password` sent.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    
    When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password:
    
    <img src="/img/tutorial/security/image12.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/security/http-basic-auth.md

    * Diese gibt ein Objekt vom Typ `HTTPBasicCredentials` zurück:
        * Es enthält den gesendeten `username` und das gesendete `password`.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    Wenn Sie versuchen, die URL zum ersten Mal zu öffnen (oder in der Dokumentation auf den Button „Execute“ zu klicken), wird der Browser Sie nach Ihrem Benutzernamen und Passwort fragen:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    {!> ../../docs_src/security/tutorial004_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="8  49  56-57  60-61  70-76"
    {!> ../../docs_src/security/tutorial004_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="8  50  57-58  61-62  71-77"
    {!> ../../docs_src/security/tutorial004_an.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/security/simple-oauth2.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="4  78"
    {!> ../../docs_src/security/tutorial003_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4  78"
    {!> ../../docs_src/security/tutorial003_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4  79"
    {!> ../../docs_src/security/tutorial003_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | Dica
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    ///
    
    ### Import `Depends`
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Declare the dependency, in the "dependant"
    
    The same way you use `Body`, `Query`, etc. with your *path operation function* parameters, use `Depends` with a new parameter:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/additional-status-codes.md

    To achieve that, import `JSONResponse`, and return your content there directly, setting the `status_code` that you want:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning
    
    When you return a `Response` directly, like in the example above, it will be returned directly.
    
    It won't be serialized with a model, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:12:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top