Correct type annotations for utils.retry()
The interval and backoff_rate parameters passed
to tenacity are floats, not ints.
@@ -633,9 +633,9 @@ def retry(retry_param: Union[None,
Tuple[Type[Exception], ...],
int,
Tuple[int, ...]],
- interval: int = 1,
+ interval: float = 1,
retries: int = 3,
- backoff_rate: int = 2,
+ backoff_rate: float = 2,
wait_random: bool = False,
retry=tenacity.retry_if_exception_type) -> Callable:
