class documentation

Info for an activity execution not started by a workflow, from list response.

Warning

This API is experimental.

Class Variable activity_id Activity ID.
Class Variable activity_run_id Run ID of the activity.
Class Variable activity_type Type name of the activity.
Class Variable close_time Time the activity reached a terminal status, if closed.
Class Variable execution_duration Duration from schedule to close time, only populated if closed.
Class Variable execution_time 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_info Underlying protobuf info.
Class Variable schedule_time Time the activity was originally scheduled.
Class Variable status Current status of the activity.
Class Variable task_queue Task queue the activity was scheduled on.
Class Variable typed_search_attributes Current set of search attributes if any.
Class Method _from_raw_info Create from raw proto activity list info.
activity_id: str = (source)

Activity ID.

activity_run_id: str | None = (source)

Run ID of the activity.

activity_type: str = (source)

Type name of the activity.

Time the activity reached a terminal status, if closed.

execution_duration: timedelta | None = (source)

Duration from schedule to close time, only populated if closed.

execution_time: datetime | None = (source)

The time at which the first activity task is made available for dispatch, computed as schedule time + start delay.

namespace: str = (source)

Namespace of the activity (copied from calling client).

schedule_time: datetime = (source)

Time the activity was originally scheduled.

Current status of the activity.

task_queue: str = (source)

Task queue the activity was scheduled on.

Current set of search attributes if any.

Create from raw proto activity list info.