From 7c77729b8d10f0f90b202488cd09631f7122d0a2 Mon Sep 17 00:00:00 2001 From: "Colton Wolkins (Indicio work address)" Date: Wed, 11 May 2022 07:48:39 -0600 Subject: [PATCH] feat: Add method do flush out the entire cache Signed-off-by: Colton Wolkins (Indicio work address) --- acapy_cache_redis/v0_1/redis_base_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acapy_cache_redis/v0_1/redis_base_cache.py b/acapy_cache_redis/v0_1/redis_base_cache.py index 8cd83e7..586fec0 100644 --- a/acapy_cache_redis/v0_1/redis_base_cache.py +++ b/acapy_cache_redis/v0_1/redis_base_cache.py @@ -112,4 +112,4 @@ async def clear(self, key: Text): async def flush(self): """Remove all items from the cache.""" - pass \ No newline at end of file + await self.redis.delete(f"ACA-Py:*") \ No newline at end of file