File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ def retry_target(
155
155
higher-level retry helper :class:`Retry`.
156
156
157
157
Args:
158
- target(Callable[None , Any]): The function to call and retry. This must be a
158
+ target(Callable[[] , Any]): The function to call and retry. This must be a
159
159
nullary function - apply arguments with `functools.partial`.
160
160
predicate (Callable[Exception]): A callable used to determine if an
161
161
exception raised by the target should be considered retryable.
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ async def retry_target(
81
81
higher-level retry helper :class:`Retry`.
82
82
83
83
Args:
84
- target(Callable): The function to call and retry. This must be a
84
+ target(Callable[[], Any] ): The function to call and retry. This must be a
85
85
nullary function - apply arguments with `functools.partial`.
86
86
predicate (Callable[Exception]): A callable used to determine if an
87
87
exception raised by the target should be considered retryable.
You can’t perform that action at this time.
0 commit comments