Core
stores.core.Store(path, disk_format=DiskFormat.NONE, **kwargs)
¶
Bases: ABC
An abstract interface for handling data stored in memory or on disk.
PARAMETER | DESCRIPTION |
---|---|
path
|
Path where data will be stored. |
disk_format
|
File format when writing data to disk.
TYPE:
|
disk_format = disk_format
instance-attribute
¶
kind
instance-attribute
¶
path = path
instance-attribute
¶
append(path, data, **kwargs)
abstractmethod
¶
available()
abstractmethod
¶
dump(**kwargs)
¶
Save all data to disk. Overwrite this method to implement when needed.