megacomplex

glotaran.model.megacomplex(*, dataset_model_type: type[DatasetModel] | None = None, exclusive: bool = False, unique: bool = False) Callable[source]

Create a megacomplex from a class.

Parameters:
  • dataset_model_type (type) – The dataset model type.

  • exclusive (bool) – Whether the megacomplex is exclusive.

  • unique (bool) – Whether the megacomplex is unique.

Return type:

Callable