mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
Changed Indentation which was causing error
This commit is contained in:
parent
9cb73d564b
commit
43116efe4d
1 changed files with 9 additions and 9 deletions
|
@ -62,13 +62,13 @@ class RedisKVStoreImpl(KVStore):
|
||||||
if cursor == 0:
|
if cursor == 0:
|
||||||
break
|
break
|
||||||
|
|
||||||
# Then fetch all values in a single MGET call
|
# Then fetch all values in a single MGET call
|
||||||
if matching_keys:
|
if matching_keys:
|
||||||
values = await self.redis.mget(matching_keys)
|
values = await self.redis.mget(matching_keys)
|
||||||
return [
|
return [
|
||||||
value.decode("utf-8") if isinstance(value, bytes) else value
|
value.decode("utf-8") if isinstance(value, bytes) else value
|
||||||
for value in values
|
for value in values
|
||||||
if value is not None
|
if value is not None
|
||||||
]
|
]
|
||||||
|
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue