summaryrefslogtreecommitdiff
path: root/redis
diff options
context:
space:
mode:
authorAnas <anas.el.amraoui@live.com>2021-11-02 10:13:04 +0200
committerGitHub <noreply@github.com>2021-11-02 10:13:04 +0200
commite46dd85aa9e30a27106baf04ce22cb3e986857bb (patch)
treeec181a885c7f9bfb52601fe09ef0721a0bfeaea7 /redis
parent8178997e2838d01dafe14dcf0a1d2d6c6a20f051 (diff)
downloadredis-py-e46dd85aa9e30a27106baf04ce22cb3e986857bb.tar.gz
Added boolean parsing to PEXPIRE and PEXPIREAT (#1665)
Diffstat (limited to 'redis')
-rwxr-xr-xredis/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 986af7c..935d9dd 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -618,7 +618,8 @@ class Redis(RedisModuleCommands, CoreCommands, object):
"""
RESPONSE_CALLBACKS = {
**string_keys_to_dict(
- 'AUTH COPY EXPIRE EXPIREAT HEXISTS HMSET LMOVE BLMOVE MOVE '
+ 'AUTH COPY EXPIRE EXPIREAT PEXPIRE PEXPIREAT '
+ 'HEXISTS HMSET LMOVE BLMOVE MOVE '
'MSETNX PERSIST PSETEX RENAMENX SISMEMBER SMOVE SETEX SETNX',
bool
),