brain_pipe.save.default

Default save class.

Functions

default_metadata_key_fn(data_dict)

Generate a key for the metadata.

Classes

AttachSave([saver])

Mixin class to attach a Save object.

CheckFunctor([saver])

Functor to use with DefaultSave to check something about of a metadata item.

DefaultFilenameFn([path_keys, other_keys, ...])

Default filename function to create paths to save data.

DefaultSave(root_dir, to_save, ...)

Default save class.

DefaultSaveMetadata(key_fn, ~typing.Any]], ...)

Implementation of SaveMetadata to work with DefaultSave.

IsDoneCheck([saver])

Check if data has already been saved.

IsReloadableCheck([saver])

Check if data has already been saved and is reloadable.

OldMetadataCompliant()

Mixin class for metadata that is compliant with the old format.

SaveMetadata(key_fn, ~typing.Any]], str] =)

Abstract class for metadata to use when saving/reloading.