Skip to content

Commit 59fe379

Browse files
committed
Added condition to remove keys entry on async
1 parent 6f582a0 commit 59fe379

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

redis/asyncio/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,9 @@ async def parse_response(
641641
if EMPTY_RESPONSE in options:
642642
options.pop(EMPTY_RESPONSE)
643643

644+
# Remove keys entry, it needs only for cache.
645+
options.pop("keys", None)
646+
644647
if command_name in self.response_callbacks:
645648
# Mypy bug: https://github.com/python/mypy/issues/10977
646649
command_name = cast(str, command_name)

0 commit comments

Comments
 (0)