Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 642 for tutorial007_py39 (0.07 sec)

  1. docs/es/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Toma un generador `async` o un generador/iterador normal y transmite el cuerpo del response.
    
    {* ../../docs_src/custom_response/tutorial007_py39.py hl[2,14] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Recebe um gerador assíncrono ou um gerador/iterador comum e retorna o corpo da resposta de forma contínua (stream).
    
    {* ../../docs_src/custom_response/tutorial007_py39.py hl[2,14] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. docs/uk/docs/python-types.md

    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial007.py!}
    ```
    
    ////
    
    //// tab | Python 3.9 і вище
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial007_py39.py!}
    ```
    
    ////
    
    Це означає:
    
    * Змінна `items_t` це `tuple` з 3 елементами, `int`, ще `int`, та `str`.
    * Змінна `items_s` це `set`, і кожен його елемент типу `bytes`.
    
    #### Dict (словник)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/handling-errors.md

    Для возврата клиенту HTTP-ответов с ошибками используется `HTTPException`.
    
    ### Импортируйте `HTTPException` { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *}
    
    ### Вызовите `HTTPException` в своем коде { #raise-an-httpexception-in-your-code }
    
    `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/handling-errors.md

    ### `HTTPException` importieren { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *}
    
    ### Eine `HTTPException` in Ihrem Code auslösen { #raise-an-httpexception-in-your-code }
    
    `HTTPException` ist eine normale Python-Exception mit zusätzlichen Daten, die für APIs relevant sind.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    #### *Enumerations-Wert* erhalten { #get-the-enumeration-value }
    
    Den tatsächlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip | Tipp
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    ## Use `HTTPException` { #use-httpexception }
    
    To return HTTP responses with errors to the client you use `HTTPException`.
    
    ### Import `HTTPException` { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *}
    
    ### Raise an `HTTPException` in your code { #raise-an-httpexception-in-your-code }
    
    `HTTPException` is a normal Python exception with additional data relevant for APIs.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top