summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-06-27 15:05:05 +0300
committerGitHub <noreply@github.com>2022-06-27 15:05:05 +0300
commite85fe3b8e39de4d568a11f146162a4f7d944130c (patch)
tree949e7bd90fb83af541f89d8a8c54f7dbf7b49c46 /redis/client.py
parente5df832640fa581293c57c4d613406b9f2c40238 (diff)
downloadredis-py-e85fe3b8e39de4d568a11f146162a4f7d944130c.tar.gz
Fix `XAUTOCLAIM` to return the full response (#2252)
* fix parse_xautoclaim * linters
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 86061d5..c63fb13 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -310,7 +310,8 @@ def parse_xclaim(response, **options):
def parse_xautoclaim(response, **options):
if options.get("parse_justid", False):
return response[1]
- return parse_stream_list(response[1])
+ response[1] = parse_stream_list(response[1])
+ return response
def parse_xinfo_stream(response, **options):