Skip to content

Commit f5e9163

Browse files
committed
retry_on_error more specific typing
1 parent dd22102 commit f5e9163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def __init__(
191191
errors: Optional[str] = None,
192192
decode_responses: bool = False,
193193
retry_on_timeout: bool = False,
194-
retry_on_error: Optional[list] = None,
194+
retry_on_error: Optional[List[Type[Exception]]] = None,
195195
ssl: bool = False,
196196
ssl_keyfile: Optional[str] = None,
197197
ssl_certfile: Optional[str] = None,

0 commit comments

Comments
 (0)