diff options
Diffstat (limited to 'redis/commands')
-rw-r--r-- | redis/commands/core.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/redis/commands/core.py b/redis/commands/core.py index 516e7d9..09fcc5d 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -801,7 +801,10 @@ class CoreCommands: Return a serialized version of the value stored at the specified key. If key does not exist a nil bulk reply is returned. """ - return self.execute_command('DUMP', name) + from redis.client import NEVER_DECODE + options = {} + options[NEVER_DECODE] = [] + return self.execute_command('DUMP', name, **options) def exists(self, *names): "Returns the number of ``names`` that exist" |