mixins

Mixin classes that are to be used alongside specific models to use composition for functionality and inheritance for semantics.

class miniscope_io.models.mixins.YAMLMixin

Mixin class that provides from_yaml() and to_yaml() classmethods

classmethod from_yaml(file_path: str | Path) T

Instantiate this class by passing the contents of a yaml file as kwargs