diff options
author | woutdenolf <woutdenolf@users.sf.net> | 2023-03-27 23:40:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-28 00:40:46 +0300 |
commit | 4856813169f84faa871557dc4e1a98958f5fca6d (patch) | |
tree | 166075bec380ee296b3646299e72d05ccf724eba | |
parent | 480253037afe4c12e38a0f98cadd3019a3724254 (diff) | |
download | redis-py-4856813169f84faa871557dc4e1a98958f5fca6d.tar.gz |
UnixDomainSocketConnection missing constructor argument (#2630)
-rw-r--r-- | redis/connection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py index faea768..162a4c3 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -1155,8 +1155,9 @@ class SSLConnection(Connection): class UnixDomainSocketConnection(AbstractConnection): "Manages UDS communication to and from a Redis server" - def __init__(self, path="", **kwargs): + def __init__(self, path="", socket_timeout=None, **kwargs): self.path = path + self.socket_timeout = socket_timeout super().__init__(**kwargs) def repr_pieces(self): |