Let us walk on the 3-isogeny graph
|
Namespaces | |
namespace | _asyncio |
namespace | _utils |
namespace | after |
namespace | before |
namespace | before_sleep |
namespace | nap |
namespace | retry |
namespace | stop |
namespace | tornadoweb |
namespace | wait |
Data Structures | |
class | AttemptManager |
class | BaseAction |
class | BaseRetrying |
class | DoAttempt |
class | DoSleep |
class | Future |
class | RetryAction |
class | RetryCallState |
class | RetryError |
class | Retrying |
class | TryAgain |
Functions | |
t.Any | _first_set (t.Union[t.Any, object] first, t.Any second) |
WrappedFn | retry (WrappedFn func) |
t.Callable[[WrappedFn], WrappedFn] | retry (t.Callable[[t.Union[int, float]], None] sleep=sleep, "StopBaseT" stop=stop_never, "WaitBaseT" wait=wait_none(), "RetryBaseT" retry=retry_if_exception_type(), t.Callable[["RetryCallState"], None] before=before_nothing, t.Callable[["RetryCallState"], None] after=after_nothing, t.Optional[t.Callable[["RetryCallState"], None]] before_sleep=None, bool reraise=False, t.Type["RetryError"] retry_error_cls=RetryError, t.Optional[t.Callable[["RetryCallState"], t.Any]] retry_error_callback=None) |
t.Any | retry (*t.Any dargs, **t.Any dkw) |
Variables | |
tornado = None | |
WrappedFnReturnT = t.TypeVar("WrappedFnReturnT") | |
WrappedFn = t.TypeVar("WrappedFn", bound=t.Callable[..., t.Any]) | |
NO_RESULT = object() | |
_unset = object() | |
FutureGenericT = futures.Future[t.Any] | |
|
protected |
Definition at line 147 of file __init__.py.
References i.
Referenced by BaseRetrying.copy().
t.Any retry | ( | *t.Any | dargs, |
**t.Any | dkw | ||
) |
Wrap a function with a new `Retrying` object. :param dargs: positional arguments passed to Retrying object :param dkw: keyword arguments passed to the Retrying object
Definition at line 518 of file __init__.py.
References i.
t.Callable[[WrappedFn], WrappedFn] retry | ( | t.Callable[[t.Union[int, float]], None] | sleep = sleep , |
"StopBaseT" | stop = stop_never , |
||
"WaitBaseT" | wait = wait_none() , |
||
"RetryBaseT" | retry = retry_if_exception_type() , |
||
t.Callable[["RetryCallState"], None] | before = before_nothing , |
||
t.Callable[["RetryCallState"], None] | after = after_nothing , |
||
t.Optional[t.Callable[["RetryCallState"], None]] | before_sleep = None , |
||
bool | reraise = False , |
||
t.Type["RetryError"] | retry_error_cls = RetryError , |
||
t.Optional[t.Callable[["RetryCallState"], t.Any]] | retry_error_callback = None |
||
) |
Definition at line 503 of file __init__.py.
References i.
Definition at line 498 of file __init__.py.
|
protected |
Definition at line 144 of file __init__.py.
FutureGenericT = futures.Future[t.Any] |
Definition at line 397 of file __init__.py.
NO_RESULT = object() |
Definition at line 105 of file __init__.py.
tornado = None |
Definition at line 87 of file __init__.py.
WrappedFn = t.TypeVar("WrappedFn", bound=t.Callable[..., t.Any]) |
Definition at line 98 of file __init__.py.
WrappedFnReturnT = t.TypeVar("WrappedFnReturnT") |
Definition at line 97 of file __init__.py.