Let us walk on the 3-isogeny graph
|
Public Member Functions | |
None | __init__ (self, BaseRetrying retry_object, t.Optional[WrappedFn] fn, t.Any args, t.Any kwargs) |
t.Optional[float] | seconds_since_start (self) |
None | prepare_for_next_attempt (self) |
None | set_result (self, t.Any val) |
None | set_exception (self, t.Tuple[t.Type[BaseException], BaseException, "types.TracebackType| None"] exc_info) |
str | __repr__ (self) |
Data Fields | |
start_time | |
retry_object | |
fn | |
args | |
kwargs | |
outcome | |
outcome_timestamp | |
next_action | |
State related to a single call wrapped with Retrying.
Definition at line 425 of file __init__.py.
None __init__ | ( | self, | |
BaseRetrying | retry_object, | ||
t.Optional[WrappedFn] | fn, | ||
t.Any | args, | ||
t.Any | kwargs | ||
) |
Definition at line 428 of file __init__.py.
References i.
Referenced by Protocol.__init_subclass__().
str __repr__ | ( | self | ) |
Definition at line 483 of file __init__.py.
References FormatControl.__class__, _InstallRequirementBackedCandidate.__class__, AlreadyInstalledCandidate.__class__, ExtrasCandidate.__class__, OrderedDict.__class__, InfinityType.__class__, NegativeInfinityType.__class__, _IndividualSpecifier.__class__, Distribution.__class__, ParseExpression.__class__, ParamSpec.__class__, _ConcatenateGenericAlias.__class__, _UnpackAlias.__class__, TypeVarTuple.__class__, PoolError.__class__, RequestError.__class__, i, and RetryCallState.outcome.
None prepare_for_next_attempt | ( | self | ) |
Definition at line 463 of file __init__.py.
t.Optional[float] seconds_since_start | ( | self | ) |
Definition at line 458 of file __init__.py.
References RetryCallState.outcome_timestamp, Task.start_time, Spinner.start_time, and RetryCallState.start_time.
None set_exception | ( | self, | |
t.Tuple[t.Type[BaseException], BaseException, "types.TracebackType| None"] | exc_info | ||
) |
Definition at line 475 of file __init__.py.
References Future.attempt_number, i, RetryCallState.outcome, and RetryCallState.outcome_timestamp.
None set_result | ( | self, | |
t.Any | val | ||
) |
Definition at line 469 of file __init__.py.
References Future.attempt_number, i, RetryCallState.outcome, and RetryCallState.outcome_timestamp.
args |
Definition at line 442 of file __init__.py.
Referenced by EditablePartial.__call__(), InvalidSchemeCombination.__str__(), VersionConflict.dist(), VersionConflict.req(), DistributionNotFound.req(), ContextualVersionConflict.required_by(), DistributionNotFound.requirers(), and VersionConflict.with_context().
fn |
Definition at line 440 of file __init__.py.
kwargs |
Definition at line 444 of file __init__.py.
Referenced by EditablePartial.__call__(), and EditablePartial.name().
next_action |
Definition at line 467 of file __init__.py.
outcome |
Definition at line 464 of file __init__.py.
Referenced by RetryCallState.__repr__(), RetryCallState.set_exception(), and RetryCallState.set_result().
outcome_timestamp |
Definition at line 465 of file __init__.py.
Referenced by RetryCallState.seconds_since_start(), RetryCallState.set_exception(), and RetryCallState.set_result().
retry_object |
Definition at line 438 of file __init__.py.
start_time |
Definition at line 436 of file __init__.py.
Referenced by Task.elapsed(), Spinner.render(), RetryCallState.seconds_since_start(), Task.speed(), and Task.started().