From 01ba3b4e23255f08002fc81d2a6f739f2fb0c0b0 Mon Sep 17 00:00:00 2001 From: Mason Sedlik Date: Mon, 28 Mar 2022 11:50:40 -0700 Subject: [PATCH] Fix disable decode for dump command on asyncio --- redis/asyncio/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py index bbf2a676ed..368607b8a0 100644 --- a/redis/asyncio/client.py +++ b/redis/asyncio/client.py @@ -485,7 +485,7 @@ async def parse_response( """Parses a response from the Redis server""" try: if NEVER_DECODE in options: - response = await connection.read_response(disable_encoding=True) + response = await connection.read_response(disable_decoding=True) else: response = await connection.read_response() except ResponseError: