Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for inherit (0.15 sec)

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

    We could do better.
    
    We can declare a `UserBase` model that serves as a base for our other models. And then we can make subclasses of that model that inherit its attributes (type declarations, validation, etc).
    
    All the data conversion, validation, documentation, etc. will still work as normally.
    
    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 (1)
  2. docs/de/docs/tutorial/extra-models.md

        ```
    
    ## Zusammenfassung
    
    Verwenden Sie gerne mehrere Pydantic-Modelle und vererben Sie je nach Bedarf.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top