Add defaults for third-party stubs Q-T (#9959)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-03-28 13:16:31 +02:00
1 parent 72456da2a3
commit b69b17c3d8
274 files changed
+3918 -3735

No files matched your search

+12 -12
View File
@@ -9,22 +9,22 @@ logging_logger: Logger
def retry_call(
f: Callable[..., _R],
fargs: Sequence[Any] | None = ...,
fkwargs: dict[str, Any] | None = ...,
fargs: Sequence[Any] | None = None,
fkwargs: dict[str, Any] | None = None,
exceptions: type[Exception] | tuple[type[Exception], ...] = ...,
tries: int = ...,
delay: float = ...,
max_delay: float | None = ...,
backoff: float = ...,
jitter: tuple[float, float] | float = ...,
tries: int = -1,
delay: float = 0,
max_delay: float | None = None,
backoff: float = 1,
jitter: tuple[float, float] | float = 0,
logger: Logger | None = ...,
) -> _R: ...
def retry(
exceptions: type[Exception] | tuple[type[Exception], ...] = ...,
tries: int = ...,
delay: float = ...,
max_delay: float | None = ...,
backoff: float = ...,
jitter: tuple[float, float] | float = ...,
tries: int = -1,
delay: float = 0,
max_delay: float | None = None,
backoff: float = 1,
jitter: tuple[float, float] | float = 0,
logger: Logger | None = ...,
) -> IdentityFunction: ...