Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for tutorial002_an_py310 (0.15 sec)

  1. docs/pt/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *}
    
    ### Ler um Único Hero
    
    Podemos **ler** um único `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *}
    
    ### Deletar um Hero
    
    Também podemos **deletar** um `Hero`.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *}
    
    ### Executar o App
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/header-param-models.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="10"
    {!> ../../docs_src/header_param_models/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10"
    {!> ../../docs_src/header_param_models/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11"
    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/en/docs/tutorial/background-tasks.md

    **FastAPI** knows what to do in each case and how to reuse the same object, so that all the background tasks are merged together and are run in the background afterwards:
    
    
    {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13,15,22,25] *}
    
    
    In this example, the messages will be written to the `log.txt` file *after* the response is sent.
    
    If there was a query in the request, it will be written to the log in a background task.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/websockets.md

    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Eles funcionam da mesma forma que para outros endpoints FastAPI/*operações de rota*:
    
    {*../../docs_src/websockets/tutorial002_an_py310.py hl[68:69,82]*}
    
    /// info | Informação
    
    Como isso é um WebSocket, não faz muito sentido levantar uma `HTTPException`, em vez disso levantamos uma `WebSocketException`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/path-params-numeric-validations.md

    ## Importer Path
    
    Tout d'abord, importez `Path` de `fastapi`, et importez `Annotated` :
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info
    
    FastAPI a ajouté le support pour `Annotated` (et a commencé à le recommander) dans la version 0.95.0.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. pyproject.toml

    "docs_src/security/tutorial004_an.py" = ["B904"]
    "docs_src/security/tutorial004_an_py310.py" = ["B904"]
    "docs_src/security/tutorial004_an_py39.py" = ["B904"]
    "docs_src/security/tutorial004_py310.py" = ["B904"]
    "docs_src/security/tutorial005.py" = ["B904"]
    "docs_src/security/tutorial005_an.py" = ["B904"]
    "docs_src/security/tutorial005_an_py310.py" = ["B904"]
    "docs_src/security/tutorial005_an_py39.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)
  7. docs/es/docs/tutorial/cookie-params.md

    Primero importa `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3]*}
    
    ## Declarar parámetros de `Cookie`
    
    Luego declara los parámetros de cookie usando la misma estructura que con `Path` y `Query`.
    
    El primer valor es el valor por defecto, puedes pasar todos los parámetros adicionales de validación o anotación:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9]*}
    
    /// note | "Detalles Técnicos"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:33:43 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:125,129:135,140,156] *}
    
    Now let's review those changes step by step.
    
    ## OAuth2 Security scheme
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-fields.md

    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/security/simple-oauth2.md

    Primeiro, importe `OAuth2PasswordRequestForm` e use-o como uma dependência com `Depends` na *operação de rota* para `/token`:
    
    //// 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+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top