ModificationLibraryMetadata
Module
viennaptm.modification.modification_library
- class ModificationLibraryMetadata(*, date: str | None = 'undefined', custom_library: bool = False)
Bases:
BaseModelContainer for library metadata such as the date it was created.
- custom_library: bool
- date: str | None
- model_config = {'extra': 'forbid'}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods
|
Create a new model by parsing and validating input data from keyword arguments. |
|
|
|
Returns a copy of the model. |
|
|
|
|
|
|
|
Creates a new instance of the Model class with validated data. |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
Generates a JSON schema for a model class. |
|
Compute the class name for parametrizations of generic classes. |
|
Override this method to perform additional initialization after __init__ and model_construct. |
|
Try to rebuild the pydantic-core schema for the model. |
|
Validate a pydantic model instance. |
|
!!! abstract "Usage Documentation" |
|
Validate the given object with string data against the Pydantic model. |
|
|
|
|
|
|
|
|
|
|
|
|
|