diff --git a/src/dispatch/plugins/dispatch_slack/service.py b/src/dispatch/plugins/dispatch_slack/service.py index af13fd0c17db..908220fca445 100644 --- a/src/dispatch/plugins/dispatch_slack/service.py +++ b/src/dispatch/plugins/dispatch_slack/service.py @@ -32,7 +32,7 @@ def __init__(self, wait_time: int | None = None): def get_wait_time(self) -> int: return self.wait_time -def slack_wait_strategy(retry_state: RetryCallState) -> [float, int]: +def slack_wait_strategy(retry_state: RetryCallState) -> float | int: """Determines the wait time for the Slack retry strategy""" exc = retry_state.outcome.exception()