Skip to content

Commit 6f582a0

Browse files
committed
Remove keys option after usage
1 parent 2c50adc commit 6f582a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

redis/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,9 @@ def parse_response(self, connection, command_name, **options):
594594
if EMPTY_RESPONSE in options:
595595
options.pop(EMPTY_RESPONSE)
596596

597+
# Remove keys entry, it needs only for cache.
598+
options.pop("keys", None)
599+
597600
if command_name in self.response_callbacks:
598601
return self.response_callbacks[command_name](response, **options)
599602
return response

0 commit comments

Comments
 (0)