class documentation
class NexusOperationExecutionCancellationInfo: (source)
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 |
Blocked reason provides additional information if the cancellation state is BLOCKED. |
| Class Variable | last |
The time when the last attempt completed. |
| Class Variable | last |
The last attempt's failure, if any. |
| Class Variable | next |
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 |
The time when cancellation was requested. |
| Class Variable | state |
The current state of the cancellation request. |
| Async Class Method | _from |
Create from raw proto nexus operation cancellation info. |
async def _from_cancellation_info(cls, info:
temporalio.api.nexus.v1.NexusOperationExecutionCancellationInfo, data_converter: temporalio.converter.DataConverter) -> Self:
(source)
¶
Create from raw proto nexus operation cancellation info.