Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parse_obj (0.17 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

        ```Python hl_lines="26-33"
        {!> ../../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!}
        ```
    
    !!! info
        In Pydantic version 1 the method to parse and validate an object was `Item.parse_obj()`, in Pydantic version 2, the method is called `Item.model_validate()`.
    
    !!! tip
        Here we re-use the same Pydantic model.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top