register_model

function of dascore.models.registry source

register_model(
    cls: <class ‘type ,
)-> ’None’

Add a model class to the registry under its derived tag.

Skip function-local classes, whose names cannot be resolved globally, and classes with invalid tags; see get_model_tag.