Skip to content

Commit

Permalink
fix: remove extraneous arg in RetryMixin (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
bachya authored Mar 24, 2024
1 parent 7b6a34e commit 873ed0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apscheduler/_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _temporary_failure_exceptions(self) -> tuple[type[Exception], ...]:
return ()

def _retry(self) -> AsyncRetrying:
def after_attempt(self, retry_state: RetryCallState) -> None:
def after_attempt(retry_state: RetryCallState) -> None:
self._logger.warning(
"Temporary data store error (attempt %d): %s",
retry_state.attempt_number,
Expand Down

0 comments on commit 873ed0d

Please sign in to comment.