'Delete value, list of values.'

def delete_value(self, keys, user=None, make_keys=True, shared=False):

    if (not isinstance(keys, (list, tuple))):
        keys = (keys,)
    for key in keys:
        if make_keys:
            key = self.make_key(key, shared=shared)
        if (key in frappe.local.cache):
            del frappe.local.cache[key]
        try:
            self.delete(key)
        except redis.exceptions.ConnectionError:
            pass
