Make Retry type hint more exact (#2097)

This commit is contained in:
Nguyễn Hồng Quân 2024-08-04 10:26:49 +07:00 committed by GitHub
parent e21d1ae133
commit 91fff77009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1649,7 +1649,7 @@ _job_stack = LocalStack()
class Retry:
def __init__(self, max: int, interval: Union[int, List[int]] = 0):
def __init__(self, max: int, interval: Union[int, Iterable[int]] = 0):
"""The main object to defined Retry logics for jobs.
Args: