class documentation
class ActivityExecution: (source)
Known subclasses: temporalio.client.ActivityExecutionDescription
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 schedule to close time, only populated if closed. |
| Class Variable | execution |
The time at which the first activity task is made available for dispatch, computed as schedule time + start delay. |
| Class Variable | namespace |
Namespace of the activity (copied from calling client). |
| Class Variable | raw |
Underlying protobuf info. |
| Class Variable | schedule |
Time the activity was originally scheduled. |
| 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. |
overridden in
temporalio.client.ActivityExecutionDescriptionTime the activity reached a terminal status, if closed.
The time at which the first activity task is made available for dispatch, computed as schedule time + start delay.
raw_info:
temporalio.api.activity.v1.ActivityExecutionListInfo | temporalio.api.activity.v1.ActivityExecutionInfo =
(source)
¶
overridden in
temporalio.client.ActivityExecutionDescriptionUnderlying protobuf info.
def _from_raw_info(cls, info:
temporalio.api.activity.v1.ActivityExecutionListInfo | temporalio.api.activity.v1.ActivityExecutionInfo, namespace: str, **kwargs: Any) -> Self:
(source)
¶
Create from raw proto activity list info.