Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 642 for tutorial008_py39 (0.05 sec)

  1. docs/pt/docs/tutorial/body-nested-models.md

    ```Python
    images: list[Image]
    ```
    
    como em:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Suporte de editor em todo canto { #editor-support-everywhere }
    
    E você obtém suporte do editor em todos os lugares.
    
    Mesmo para itens dentro de listas:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/body-nested-models.md

    ```Python
    images: list[Image]
    ```
    
    como en:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Soporte de editor en todas partes { #editor-support-everywhere }
    
    Y obtienes soporte de editor en todas partes.
    
    Incluso para elementos dentro de listas:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. docs/uk/docs/tutorial/body-nested-models.md

    ```Python
    images: List[Image]
    ```
    або в Python 3.9 і вище:
    
    ```Python
    images: list[Image]
    ```
    
    наприклад:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Підтримка в редакторі всюди
    
    Ви отримаєте підтримку в редакторі всюди.
    
    Навіть для елементів у списках:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:18:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    ```Python
    images: list[Image]
    ```
    
    as in:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Editor support everywhere { #editor-support-everywhere }
    
    And you get editor support everywhere.
    
    Even for items inside of lists:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/body-nested-models.md

    ```Python
    images: list[Image]
    ```
    
    например так:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Поддержка редактора кода везде { #editor-support-everywhere }
    
    И вы получаете поддержку редактора кода везде.
    
    Даже для элементов внутри списков:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/body-nested-models.md

    ## 纯列表请求体
    
    如果你期望的 JSON 请求体的最外层是一个 JSON `array`(即 Python `list`),则可以在路径操作函数的参数中声明此类型,就像声明 Pydantic 模型一样:
    
    ```Python
    images: List[Image]
    ```
    
    例如:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## 无处不在的编辑器支持
    
    你可以随处获得编辑器支持。
    
    即使是列表中的元素:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/body-nested-models/image01.png">
    
    如果你直接使用 `dict` 而不是 Pydantic 模型,那你将无法获得这种编辑器支持。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. docs/uk/docs/python-types.md

    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial008.py!}
    ```
    
    ////
    
    //// tab | Python 3.9 і вище
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial008_py39.py!}
    ```
    
    ////
    
    Це означає:
    
    * Змінна `prices` це `dict`:
        * Ключі цього `dict` типу `str` (наприклад, назва кожного елементу).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. 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)
Back to top