Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    //// tab | Pydantic v1
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py hl[26:33] *}
    
    ////
    
    /// 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 reuse the same Pydantic model.
    
    But the same way, we could have validated it in some other way.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top