class documentation
class ActivityExecutionDescription(ActivityExecution): (source)
Detailed information about an activity execution not started by a workflow.
Warning
This API is experimental.
| Class Variable | attempt |
Current attempt number. |
| Class Variable | canceled |
Reason for cancellation, if cancel was requested. |
| Class Variable | current |
Time until the next retry, if applicable. |
| Class Variable | eager |
Whether eager execution was requested for this activity. |
| Class Variable | expiration |
Scheduled time plus schedule_to_close_timeout. |
| Class Variable | last |
Time when the last attempt completed. |
| Class Variable | last |
Failure from the last failed attempt, if any. |
| Class Variable | last |
Time of the last heartbeat. |
| Class Variable | last |
Time the last attempt was started. |
| Class Variable | last |
Identity of the last worker that processed the activity. |
| Class Variable | long |
Token for follow-on long-poll requests. None if the activity is complete. |
| Class Variable | next |
Time when the next attempt will be scheduled. |
| Class Variable | paused |
Whether the activity is paused. |
| Class Variable | raw |
Details from the last heartbeat. |
| Class Variable | retry |
Retry policy for the activity. |
| Class Variable | run |
More detailed breakdown if status is RUNNING. |
| Async Class Method | _from |
Create from raw proto activity execution info. |
Inherited from ActivityExecution:
async def _from_execution_info(cls, info:
temporalio.api.activity.v1.ActivityExecutionInfo, long_poll_token: bytes | None, namespace: str, data_converter: temporalio.converter.DataConverter) -> Self:
(source)
¶
Create from raw proto activity execution info.
