summaryrefslogtreecommitdiff
path: root/src/apscheduler/_retry.py
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2022-09-23 00:28:29 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2022-09-23 00:28:29 +0300
commit631c78e7161cfe8457bf1121eb355e3a3d19c35d (patch)
treec1631d1ca3eee570e0edb6da8d85ef3f619ce926 /src/apscheduler/_retry.py
parent4a180631ddcc542947994a13b5f6fbc2021dea16 (diff)
downloadapscheduler-631c78e7161cfe8457bf1121eb355e3a3d19c35d.tar.gz
Fixed _temporary_failure_exceptions in MongoDB and SQLA datastores
Diffstat (limited to 'src/apscheduler/_retry.py')
-rw-r--r--src/apscheduler/_retry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apscheduler/_retry.py b/src/apscheduler/_retry.py
index 19cf51b..f05931f 100644
--- a/src/apscheduler/_retry.py
+++ b/src/apscheduler/_retry.py
@@ -44,7 +44,7 @@ class RetryMixin:
retry_settings: RetrySettings = attrs.field(default=RetrySettings())
@property
- def _temporary_failure_exceptions(self) -> tuple[type[Exception]]:
+ def _temporary_failure_exceptions(self) -> tuple[type[Exception], ...]:
"""
Tuple of exception classes which indicate that the operation should be retried.