Skip to content

Pickling of python objectsยค

Different types of pre-processing can be combined into a single conveyor line

Example

from redast import Storage, Memory

storage = Storage(Memory())

data = dict(a=1, b=2)
key = storage.pickling.push(data)
data = storage.pickling.load(key)
print(data)
{'a': 1, 'b': 2}