spines.versioning.base¶
Base classes for the spines versioning functionality.
-
class
spines.versioning.base.Signature(obj: [<class 'type'>, <class 'object'>], name: str = None)[source]¶ Bases:
abc.ABCSignature objects for component change tracking and management.
This object is used for tagging/version-tracking a single component of a larger model (e.g. the
fitmethod). Collections of these objects are used to identify, for example, a particular version of aModelinstance.-
hash¶ Full hash string for this signature’s hash
- Type
str
-
hash_bytes¶ Full hash (in bytes-form) for this signature
- Type
bytes
-
name¶ The name of the object this signature is for
- Type
str
-
slug¶ Slug-ified version of this signature
- Type
str
-