vak.models.registry.register_model#
- vak.models.registry.register_model(model_class: Type) Type [source]#
Decorator that registers a model in the model registry.
This function is called by
vak.models.decorator.model()
, that creates a model class from a model definition. So you will not usually need to use this decorator directly, and should prefer to usevak.models.decorator.model()
instead.