set method

set

Inserts a cache entry into the cache.

def set(self, key, value):
    ...
Parameter Type Description
key str A unique identifier for the cache entry.
value any The object to insert.

See Also