Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for docs_src (0.1 sec)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    ```Python hl_lines="8  49  56-57  60-61  70-76"
    {!> ../../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)
  2. 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Importer `Query`
    
    Pour cela, importez d'abord `Query` depuis `fastapi` :
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[3] *}
    
    ## Utiliser `Query` comme valeur par défaut
    
    Construisez ensuite la valeur par défaut de votre paramètre avec `Query`, en choisissant 50 comme `max_length` :
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[9] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. 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] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/custom-response.md

    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Usa algum texto ou sequência de bytes e retorna uma resposta HTML. Como você leu acima.
    
    ### `PlainTextResponse`
    
    Usa algum texto ou sequência de bytes para retornar uma resposta de texto não formatado.
    
    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/metadata.md

    ```Python hl_lines="3"
    {!../../docs_src/metadata/tutorial002.py!}
    ```
    
    OpenAPI 구조를 완전히 비활성화하려면 `openapi_url=None`으로 설정할 수 있으며, 이를 사용하여 문서화 사용자 인터페이스도 비활성화됩니다.
    
    ## 문서화 URL
    
    포함된 두 가지 문서화 사용자 인터페이스를 설정할 수 있습니다:
    
    * **Swagger UI**: `/docs`에서 제공됩니다.
        * `docs_url` 매개변수로 URL을 설정할 수 있습니다.
        * `docs_url=None`으로 설정하여 비활성화할 수 있습니다.
    * **ReDoc**: `/redoc`에서 제공됩니다.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ alternative
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. 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)
  9. docs/en/docs/tutorial/body.md

    ///
    
    ## Import Pydantic's `BaseModel`
    
    First, you need to import `BaseModel` from `pydantic`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Create your data model
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/body.md

    Commencez par importer la classe `BaseModel` du module `pydantic` :
    
    {* ../../docs_src/body/tutorial001.py hl[4] *}
    
    ## Créez votre modèle de données
    
    Déclarez ensuite votre modèle de données en tant que classe qui hérite de `BaseModel`.
    
    Utilisez les types Python standard pour tous les attributs :
    
    {* ../../docs_src/body/tutorial001.py hl[7:11] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top