register_model

glotaran.plugin_system.model_registration.register_model(model_type: str, model: type[Model]) None[source]

Add a model to the model registry.

Parameters
  • model_type (str) – Name of the model under which it is registered.

  • model (type[Model]) – model class to be registered.