From 43116efe4deb88523396f8d54b0d66c404a287be Mon Sep 17 00:00:00 2001 From: Sarthak Deshpande Date: Mon, 25 Nov 2024 16:26:30 +0530 Subject: [PATCH] Changed Indentation which was causing error --- .../providers/utils/kvstore/redis/redis.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/llama_stack/providers/utils/kvstore/redis/redis.py b/llama_stack/providers/utils/kvstore/redis/redis.py index ef950a6d9..2865d1c5b 100644 --- a/llama_stack/providers/utils/kvstore/redis/redis.py +++ b/llama_stack/providers/utils/kvstore/redis/redis.py @@ -62,13 +62,13 @@ class RedisKVStoreImpl(KVStore): if cursor == 0: break - # Then fetch all values in a single MGET call - if matching_keys: - values = await self.redis.mget(matching_keys) - return [ - value.decode("utf-8") if isinstance(value, bytes) else value - for value in values - if value is not None - ] + # Then fetch all values in a single MGET call + if matching_keys: + values = await self.redis.mget(matching_keys) + return [ + value.decode("utf-8") if isinstance(value, bytes) else value + for value in values + if value is not None + ] - return [] + return []