set method

set

Serializes data to the local disk.

def set(self, key, value):
    ...
Parameter Type Description
key str An unique identifier for the cache entry.
value Any The object to serialize.

See Also