vak.models.decorator#
Decorator that makes a model class, given a definition of the model, and another class that represents a family of models that the new model belongs to.
The function returns a newly-created subclass of the class representing the family of models. The subclass can then be instantiated and have all model methods.
Functions
|
Decorator that makes a model class, given a definition of the model, and another class that represents a family of models that the new model belongs to. |
Exceptions
Exception raised when validating a model definition fails. |