Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 310 for tutorial009c_py310 (0.31 sec)

  1. docs/ru/docs/tutorial/extra-models.md

    ///
    
    ## Множественные модели { #multiple-models }
    
    Ниже изложена основная идея того, как могут выглядеть эти модели с полями для паролей, а также описаны места, где они используются:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    /// info | Информация
    
    В Pydantic v1 метод назывался `.dict()`, в Pydantic v2 он помечен как устаревший (но всё ещё поддерживается) и переименован в `.model_dump()`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. docs/uk/docs/tutorial/body-updates.md

    Ви можете використати `jsonable_encoder`, щоб перетворити вхідні дані на такі, які можна зберігати як JSON (наприклад, у NoSQL базі даних). Наприклад, перетворюючи `datetime` у `str`.
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` використовується для отримання даних, які мають замінити чинні дані.
    
    ### Попередження про заміну
    
    Це означає, що якщо Ви хочете оновити елемент `bar`, використовуючи `PUT` з тілом:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jun 30 06:00:04 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

        """).strip(),
    }
    
    
    @pytest.fixture(
        name="mod_name",
        params=[
            pytest.param("tutorial003_py39"),
            pytest.param("tutorial003_py310", marks=needs_py310),
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
        ],
    )
    def get_mod_name(request: pytest.FixtureRequest) -> str:
        return request.param
    
    
    @pytest.fixture(name="client")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-models.md

    ///
    
    ## Multiple models { #multiple-models }
    
    Here's a general idea of how the models could look like with their password fields and the places where they are used:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    ### About `**user_in.model_dump()` { #about-user-in-model-dump }
    
    #### Pydantic's `.model_dump()` { #pydantics-model-dump }
    
    `user_in` is a Pydantic model of class `UserIn`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_extra_models/test_tutorial001_tutorial002.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.extra_models.{request.param}")
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/extra-models.md

    ///
    
    ## Múltiplos modelos { #multiple-models }
    
    Aqui está uma ideia geral de como os modelos poderiam parecer com seus campos de senha e os lugares onde são usados:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    /// info | Informação
    
    No Pydantic v1 o método se chamava `.dict()`, ele foi descontinuado (mas ainda é suportado) no Pydantic v2 e renomeado para `.model_dump()`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/body-updates.md

    Вы можете использовать `jsonable_encoder`, чтобы преобразовать входные данные в данные, которые можно сохранить как JSON (например, в NoSQL-базе данных). Например, преобразование `datetime` в `str`.
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` используется для получения данных, которые должны полностью заменить существующие данные.
    
    ### Предупреждение о замене { #warning-about-replacing }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` wird verwendet, um Daten zu empfangen, die die existierenden Daten ersetzen sollen.
    
    ### Warnung bezüglich des Ersetzens { #warning-about-replacing }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial006c_py310.py

    Sebastián Ramírez <******@****.***> 1739636639 +0100
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 261 bytes
    - Viewed (0)
Back to top