Skip to content

Commit

Permalink
fix typing issue with retry exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ungarj committed Sep 17, 2024
1 parent eb19c20 commit 6ffb568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapchete/commands/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def execute(
executor_getter: AbstractContextManager = Executor,
profiling: bool = False,
observers: Optional[List[ObserverProtocol]] = None,
retry_on_exception: Tuple[Type[Exception], Type[Exception]] = Exception,
retry_on_exception: Union[Tuple[Type[Exception], ...], Type[Exception]] = Exception,
cancel_on_exception: Type[Exception] = JobCancelledError,
retries: int = 0,
):
Expand Down

0 comments on commit 6ffb568

Please sign in to comment.