From 4856813169f84faa871557dc4e1a98958f5fca6d Mon Sep 17 00:00:00 2001 From: woutdenolf Date: Mon, 27 Mar 2023 23:40:46 +0200 Subject: [PATCH] UnixDomainSocketConnection missing constructor argument (#2630) --- redis/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redis/connection.py b/redis/connection.py index faea7683f7..162a4c3215 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -1155,8 +1155,9 @@ def _connect(self): 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):