fleche.storage.pickle_file
Attributes
Classes
Store values as files on the filesystem using a serialization module. |
|
Bridges |
|
Bridges |
Module Contents
- class fleche.storage.pickle_file.PickleFileBackend[source]
Bases:
fleche.storage.file.FileStorageStore values as files on the filesystem using a serialization module.
- classmethod with_pickle(*args, **kwargs)[source]
Construct a PickleFileBackend using the standard pickle module.
- classmethod with_cloudpickle(*args, **kwargs)[source]
Construct a PickleFileBackend using the cloudpickle module.
- class fleche.storage.pickle_file.ValuePickleFile[source]
Bases:
fleche.storage.base.ValueMixin,fleche.storage.destructuring.DestructuringMixin,PickleFileBackendBridges
ValueStoragewithStorageBackendprimitives.Implements
saveandloadusingputandget. Concrete classes inherit from this and aStorageBackendimplementation to get a fully functional value storage.
- class fleche.storage.pickle_file.CallPickleFile[source]
Bases:
fleche.storage.base.CallMixin,PickleFileBackendBridges
CallStoragewithStorageBackendprimitives.Implements
save,load, andqueryusingputandget, deriving the storage key from the call’s lookup key.transformis inherited fromCallStorage.Concrete classes inherit from this and a
StorageBackendimplementation to get a fully functional call storage.