brain_pipe.save.default.AttachSave

class AttachSave(saver=None)

Bases: ABC

Mixin class to attach a Save object.

__init__(saver=None)

Initialize the AttachSaver.

Parameters:

saver (Optional[Save]) – The saver to use. Can be attached later with attach_saver(), but that will create a new object.

Methods

__init__([saver])

Initialize the AttachSaver.

attach_saver(saver)

Initialize a new object with the saver.

attach_saver(saver)

Initialize a new object with the saver.

Parameters:

saver (Save) – The saver.