temporalio.client.NexusOperationExecutionCancellationInfo
class documentation

class NexusOperationExecutionCancellationInfo: (source)

View In Hierarchy

Cancellation information for a Nexus Operation.

Warning

This API is experimental and unstable.

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.