class documentation
class ActivityExecution: (source)
Known subclasses: temporalio.client.ActivityExecutionDescription
Constructor: ActivityExecution._from_raw_info(info, namespace)
Info for an activity execution not started by a workflow, from list response.
Warning
This API is experimental.
| Class Variable | activity |
Activity ID. |
| Class Variable | activity |
Run ID of the activity. |
| Class Variable | activity |
Type name of the activity. |
| Class Variable | close |
Time the activity reached a terminal status, if closed. |
| Class Variable | execution |
Duration from scheduled to close time, only populated if closed. |
| Class Variable | namespace |
Namespace of the activity (copied from calling client). |
| Class Variable | raw |
Underlying protobuf info. |
| Class Variable | scheduled |
Time the activity was originally scheduled. |
| Class Variable | state |
Number of state transitions, if available. |
| Class Variable | status |
Current status of the activity. |
| Class Variable | task |
Task queue the activity was scheduled on. |
| Class Variable | typed |
Current set of search attributes if any. |
| Class Method | _from |
Create from raw proto activity list info. |
raw_info:
temporalio.api.activity.v1.ActivityExecutionListInfo | temporalio.api.activity.v1.ActivityExecutionInfo =
(source)
¶
Underlying protobuf info.
def _from_raw_info(cls, info:
temporalio.api.activity.v1.ActivityExecutionListInfo, namespace: str) -> Self:
(source)
¶
Create from raw proto activity list info.