Skip to content

Commit 1ceb435

Browse files
armicronViicos
andauthored
Fix retry_on_error type annotation (#446)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
1 parent 2354d8f commit 1ceb435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arq/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class RedisSettings:
5050
sentinel_master: str = 'mymaster'
5151

5252
retry_on_timeout: bool = False
53-
retry_on_error: Optional[list[Exception]] = None
53+
retry_on_error: Optional[list[type[Exception]]] = None
5454
retry: Optional[Retry] = None
5555

5656
@classmethod

0 commit comments

Comments
 (0)