update_signature

mcalf.utils.misc.update_signature(cls)[source]

Update the signature of a model class.

Parameters:

cls (type) – The model class to set a cls.__init__.__signature__ for.

Notes

This should be called during import of the model class. This function should be called for every class in the model class hierarchy in order starting from ~mcalf.models.ModelBase.