Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 641 for tutorial006_py39 (0.09 sec)

  1. docs/pt/docs/tutorial/path-operation-configuration.md

    Se você precisar marcar uma *operação de rota* como <abbr title="obsoleta, recomendada não usá-la">descontinuada</abbr>, mas sem removê-la, passe o parâmetro `deprecated`:
    
    {* ../../docs_src/path_operation_configuration/tutorial006_py39.py hl[16] *}
    
    Ela será claramente marcada como descontinuada nas documentações interativas:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    If you want to use the exception along with the same default exception handlers from  **FastAPI**, you can import and reuse the default exception handlers from `fastapi.exception_handlers`:
    
    {* ../../docs_src/handling_errors/tutorial006_py39.py hl[2:5,15,21] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/custom-response.md

    Puedes devolver un `RedirectResponse` directamente:
    
    {* ../../docs_src/custom_response/tutorial006_py39.py hl[2,9] *}
    
    ---
    
    O puedes usarlo en el parámetro `response_class`:
    
    {* ../../docs_src/custom_response/tutorial006b_py39.py hl[2,7,9] *}
    
    Si haces eso, entonces puedes devolver la URL directamente desde tu *path operation function*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/handling-errors.md

    Se você quer usar a exceção em conjunto com o mesmo manipulador de exceção *default* do **FastAPI**, você pode importar e re-usar esses manipuladores de exceção do `fastapi.exception_handlers`:
    
    {* ../../docs_src/handling_errors/tutorial006_py39.py hl[2:5,15,21] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial006_py39.py hl[2:5,15,21] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/custom-response.md

    Você pode retornar uma `RedirectResponse` diretamente:
    
    {* ../../docs_src/custom_response/tutorial006_py39.py hl[2,9] *}
    
    ---
    
    Ou você pode utilizá-la no parâmetro `response_class`:
    
    {* ../../docs_src/custom_response/tutorial006b_py39.py hl[2,7,9] *}
    
    Se você fizer isso, então você pode retornar a URL diretamente da sua *função de operação de rota*
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Because the editor knows the types of the variables, you don't only get completion, you also get error checks:
    
    <img src="/img/python-types/image04.png">
    
    Now you know that you have to fix it, convert `age` to a string with `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declaring types { #declaring-types }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. docs/pt/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Como o editor conhece os tipos de variáveis, você não obtém apenas o preenchimento automático, mas também as verificações de erro:
    
    <img src="/img/python-types/image04.png">
    
    Agora você sabe que precisa corrigí-lo, converta `age` em uma string com `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. docs/es/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Porque el editor conoce los tipos de las variables, no solo obtienes autocompletado, también obtienes chequeo de errores:
    
    <img src="/img/python-types/image04.png">
    
    Ahora sabes que debes corregirlo, convertir `age` a un string con `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declaración de tipos { #declaring-types }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  10. docs/uk/docs/python-types.md

    Як тип вкажемо `list`.
    
    Оскільки список є типом, який містить деякі внутрішні типи, ви поміщаєте їх у квадратні дужки:
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial006_py39.py!}
    ```
    
    ////
    
    /// info
    
    Ці внутрішні типи в квадратних дужках називаються "параметрами типу".
    
    У цьому випадку, `str` це параметр типу переданий у `List` (або `list` у Python 3.9 і вище).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top