Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 364 for tutorial002_py310 (0.05 sec)

  1. docs_src/extra_models/tutorial002_py310.py

    Sebastián Ramírez <******@****.***> 1766246138 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 798 bytes
    - Viewed (0)
  2. docs_src/header_param_models/tutorial002_py310.py

    Sebastián Ramírez <******@****.***> 1726599250 +0200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 392 bytes
    - Viewed (0)
  3. docs_src/path_operation_configuration/tutorial002_py310.py

    Sebastián Ramírez <******@****.***> 1641564691 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 537 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Using Pydantic's `update` parameter { #using-pydantics-update-parameter }
    
    Now, you can create a copy of the existing model using `.model_copy()`, and pass the `update` parameter with a `dict` containing the data to update.
    
    Like `stored_item_model.model_copy(update=update_data)`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/body-updates.md

    Тоді Ви можете використовувати це, щоб створити `dict` лише з даними, які були встановлені (надіслані у запиті), пропускаючи значення за замовчуванням:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Використання параметра `update` у Pydantic
    
    Тепер Ви можете створити копію наявної моделі за допомогою `.model_copy()`, і передати параметр `update` з `dict` , який містить дані для оновлення.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jun 30 06:00:04 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    所以,我们可以将上面的依赖项 "可依赖对象" `common_parameters` 更改为类 `CommonQueryParams`:
    
    {* ../../docs_src/dependencies/tutorial002_py310.py hl[9:13] *}
    
    注意用于创建类实例的 `__init__` 方法:
    
    {* ../../docs_src/dependencies/tutorial002_py310.py hl[10] *}
    
    ...它与我们以前的 `common_parameters` 具有相同的参数:
    
    {* ../../docs_src/dependencies/tutorial001_py310.py hl[6] *}
    
    这些参数就是 **FastAPI** 用来 "处理" 依赖项的。
    
    在两个例子下,都有:
    
    * 一个可选的 `q` 查询参数,是 `str` 类型。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Использование параметра `update` в Pydantic { #using-pydantics-update-parameter }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-updates.md

    Então, você pode usar isso para gerar um `dict` com apenas os dados definidos (enviados na solicitação), omitindo valores padrão:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Usando o parâmetro `update` do Pydantic { #using-pydantics-update-parameter }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    Es wird in der interaktiven Dokumentation verwendet:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Beschreibung der Response { #response-description }
    
    Sie können die Response mit dem Parameter `response_description` beschreiben:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    /// info | Info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    Он будет использован в интерактивной документации:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Описание ответа { #response-description }
    
    Вы можете указать описание ответа с помощью параметра `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top