

def flush(self):
    'Delete all entries from the cache'
    keys = self.client.smembers(self.keys_container)
    for key in keys:
        self.delete_entry(key)

dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py RedisCache.flush/original