class documentation

class NexusOperationExecutionCancellationInfo: (source)

View In Hierarchy

Cancellation information for a Nexus Operation.

Warning

This API is experimental and unstable.

Class Variable attempt The number of attempts made to deliver the cancel operation request.
Class Variable blocked_reason Blocked reason provides additional information if the cancellation state is BLOCKED.
Class Variable last_attempt_complete_time The time when the last attempt completed.
Class Variable last_attempt_failure The last attempt's failure, if any.
Class Variable next_attempt_schedule_time The time when the next attempt is scheduled.
Class Variable raw Underlying protobuf cancellation info.
Class Variable reason The reason specified in the cancellation request.
Class Variable requested_time The time when cancellation was requested.
Class Variable state The current state of the cancellation request.
Async Class Method _from_cancellation_info Create from raw proto nexus operation cancellation info.

The number of attempts made to deliver the cancel operation request.

blocked_reason: str = (source)

Blocked reason provides additional information if the cancellation state is BLOCKED.

last_attempt_complete_time: datetime | None = (source)

The time when the last attempt completed.

last_attempt_failure: BaseException | None = (source)

The last attempt's failure, if any.

next_attempt_schedule_time: datetime | None = (source)

The time when the next attempt is scheduled.

The reason specified in the cancellation request.

requested_time: datetime | None = (source)

The time when cancellation was requested.

The current state of the cancellation request.

Create from raw proto nexus operation cancellation info.