cadence-python-client 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cadence/__init__.py +18 -0
- cadence/_internal/__init__.py +8 -0
- cadence/_internal/activity/__init__.py +5 -0
- cadence/_internal/activity/_activity_executor.py +113 -0
- cadence/_internal/activity/_context.py +58 -0
- cadence/_internal/rpc/__init__.py +0 -0
- cadence/_internal/rpc/error.py +148 -0
- cadence/_internal/rpc/retry.py +104 -0
- cadence/_internal/rpc/yarpc.py +42 -0
- cadence/_internal/workflow/__init__.py +0 -0
- cadence/_internal/workflow/context.py +121 -0
- cadence/_internal/workflow/decision_events_iterator.py +161 -0
- cadence/_internal/workflow/decisions_helper.py +312 -0
- cadence/_internal/workflow/deterministic_event_loop.py +498 -0
- cadence/_internal/workflow/history_event_iterator.py +58 -0
- cadence/_internal/workflow/statemachine/__init__.py +0 -0
- cadence/_internal/workflow/statemachine/activity_state_machine.py +106 -0
- cadence/_internal/workflow/statemachine/decision_manager.py +157 -0
- cadence/_internal/workflow/statemachine/decision_state_machine.py +87 -0
- cadence/_internal/workflow/statemachine/event_dispatcher.py +76 -0
- cadence/_internal/workflow/statemachine/timer_state_machine.py +73 -0
- cadence/_internal/workflow/workflow_engine.py +245 -0
- cadence/_internal/workflow/workflow_intance.py +44 -0
- cadence/activity.py +255 -0
- cadence/api/v1/__init__.py +92 -0
- cadence/api/v1/common_pb2.py +90 -0
- cadence/api/v1/common_pb2.pyi +200 -0
- cadence/api/v1/common_pb2_grpc.py +24 -0
- cadence/api/v1/decision_pb2.py +67 -0
- cadence/api/v1/decision_pb2.pyi +225 -0
- cadence/api/v1/decision_pb2_grpc.py +24 -0
- cadence/api/v1/domain_pb2.py +68 -0
- cadence/api/v1/domain_pb2.pyi +145 -0
- cadence/api/v1/domain_pb2_grpc.py +24 -0
- cadence/api/v1/error_pb2.py +59 -0
- cadence/api/v1/error_pb2.pyi +82 -0
- cadence/api/v1/error_pb2_grpc.py +24 -0
- cadence/api/v1/history_pb2.py +134 -0
- cadence/api/v1/history_pb2.pyi +780 -0
- cadence/api/v1/history_pb2_grpc.py +24 -0
- cadence/api/v1/query_pb2.py +49 -0
- cadence/api/v1/query_pb2.pyi +59 -0
- cadence/api/v1/query_pb2_grpc.py +24 -0
- cadence/api/v1/service_domain_pb2.py +76 -0
- cadence/api/v1/service_domain_pb2.pyi +164 -0
- cadence/api/v1/service_domain_pb2_grpc.py +327 -0
- cadence/api/v1/service_meta_pb2.py +41 -0
- cadence/api/v1/service_meta_pb2.pyi +17 -0
- cadence/api/v1/service_meta_pb2_grpc.py +97 -0
- cadence/api/v1/service_visibility_pb2.py +71 -0
- cadence/api/v1/service_visibility_pb2.pyi +149 -0
- cadence/api/v1/service_visibility_pb2_grpc.py +362 -0
- cadence/api/v1/service_worker_pb2.py +116 -0
- cadence/api/v1/service_worker_pb2.pyi +350 -0
- cadence/api/v1/service_worker_pb2_grpc.py +743 -0
- cadence/api/v1/service_workflow_pb2.py +126 -0
- cadence/api/v1/service_workflow_pb2.pyi +395 -0
- cadence/api/v1/service_workflow_pb2_grpc.py +861 -0
- cadence/api/v1/tasklist_pb2.py +78 -0
- cadence/api/v1/tasklist_pb2.pyi +147 -0
- cadence/api/v1/tasklist_pb2_grpc.py +24 -0
- cadence/api/v1/visibility_pb2.py +47 -0
- cadence/api/v1/visibility_pb2.pyi +53 -0
- cadence/api/v1/visibility_pb2_grpc.py +24 -0
- cadence/api/v1/workflow_pb2.py +89 -0
- cadence/api/v1/workflow_pb2.pyi +365 -0
- cadence/api/v1/workflow_pb2_grpc.py +24 -0
- cadence/client.py +382 -0
- cadence/data_converter.py +78 -0
- cadence/error.py +111 -0
- cadence/metrics/__init__.py +12 -0
- cadence/metrics/constants.py +136 -0
- cadence/metrics/metrics.py +56 -0
- cadence/metrics/prometheus.py +165 -0
- cadence/sample/__init__.py +1 -0
- cadence/sample/client_example.py +15 -0
- cadence/sample/grpc_usage_example.py +230 -0
- cadence/sample/simple_usage_example.py +155 -0
- cadence/signal.py +174 -0
- cadence/worker/__init__.py +13 -0
- cadence/worker/_activity.py +60 -0
- cadence/worker/_base_task_handler.py +71 -0
- cadence/worker/_decision.py +62 -0
- cadence/worker/_decision_task_handler.py +285 -0
- cadence/worker/_poller.py +64 -0
- cadence/worker/_registry.py +245 -0
- cadence/worker/_types.py +26 -0
- cadence/worker/_worker.py +56 -0
- cadence/workflow.py +271 -0
- cadence_python_client-0.1.0.dist-info/METADATA +180 -0
- cadence_python_client-0.1.0.dist-info/RECORD +95 -0
- cadence_python_client-0.1.0.dist-info/WHEEL +5 -0
- cadence_python_client-0.1.0.dist-info/licenses/LICENSE +201 -0
- cadence_python_client-0.1.0.dist-info/licenses/NOTICE +19 -0
- cadence_python_client-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,780 @@
|
|
|
1
|
+
from google.protobuf import duration_pb2 as _duration_pb2
|
|
2
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
3
|
+
from cadence.api.v1 import common_pb2 as _common_pb2
|
|
4
|
+
from cadence.api.v1 import tasklist_pb2 as _tasklist_pb2
|
|
5
|
+
from cadence.api.v1 import workflow_pb2 as _workflow_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import message as _message
|
|
10
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class EventFilterType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
15
|
+
__slots__ = ()
|
|
16
|
+
EVENT_FILTER_TYPE_INVALID: _ClassVar[EventFilterType]
|
|
17
|
+
EVENT_FILTER_TYPE_ALL_EVENT: _ClassVar[EventFilterType]
|
|
18
|
+
EVENT_FILTER_TYPE_CLOSE_EVENT: _ClassVar[EventFilterType]
|
|
19
|
+
EVENT_FILTER_TYPE_INVALID: EventFilterType
|
|
20
|
+
EVENT_FILTER_TYPE_ALL_EVENT: EventFilterType
|
|
21
|
+
EVENT_FILTER_TYPE_CLOSE_EVENT: EventFilterType
|
|
22
|
+
|
|
23
|
+
class History(_message.Message):
|
|
24
|
+
__slots__ = ("events",)
|
|
25
|
+
EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
events: _containers.RepeatedCompositeFieldContainer[HistoryEvent]
|
|
27
|
+
def __init__(self, events: _Optional[_Iterable[_Union[HistoryEvent, _Mapping]]] = ...) -> None: ...
|
|
28
|
+
|
|
29
|
+
class HistoryEvent(_message.Message):
|
|
30
|
+
__slots__ = ("event_id", "event_time", "version", "task_id", "workflow_execution_started_event_attributes", "workflow_execution_completed_event_attributes", "workflow_execution_failed_event_attributes", "workflow_execution_timed_out_event_attributes", "decision_task_scheduled_event_attributes", "decision_task_started_event_attributes", "decision_task_completed_event_attributes", "decision_task_timed_out_event_attributes", "decision_task_failed_event_attributes", "activity_task_scheduled_event_attributes", "activity_task_started_event_attributes", "activity_task_completed_event_attributes", "activity_task_failed_event_attributes", "activity_task_timed_out_event_attributes", "timer_started_event_attributes", "timer_fired_event_attributes", "activity_task_cancel_requested_event_attributes", "request_cancel_activity_task_failed_event_attributes", "activity_task_canceled_event_attributes", "timer_canceled_event_attributes", "cancel_timer_failed_event_attributes", "marker_recorded_event_attributes", "workflow_execution_signaled_event_attributes", "workflow_execution_terminated_event_attributes", "workflow_execution_cancel_requested_event_attributes", "workflow_execution_canceled_event_attributes", "request_cancel_external_workflow_execution_initiated_event_attributes", "request_cancel_external_workflow_execution_failed_event_attributes", "external_workflow_execution_cancel_requested_event_attributes", "workflow_execution_continued_as_new_event_attributes", "start_child_workflow_execution_initiated_event_attributes", "start_child_workflow_execution_failed_event_attributes", "child_workflow_execution_started_event_attributes", "child_workflow_execution_completed_event_attributes", "child_workflow_execution_failed_event_attributes", "child_workflow_execution_canceled_event_attributes", "child_workflow_execution_timed_out_event_attributes", "child_workflow_execution_terminated_event_attributes", "signal_external_workflow_execution_initiated_event_attributes", "signal_external_workflow_execution_failed_event_attributes", "external_workflow_execution_signaled_event_attributes", "upsert_workflow_search_attributes_event_attributes")
|
|
31
|
+
EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
EVENT_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
DECISION_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
DECISION_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
DECISION_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
DECISION_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
DECISION_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
ACTIVITY_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
ACTIVITY_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
ACTIVITY_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
ACTIVITY_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
TIMER_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
TIMER_FIRED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
ACTIVITY_TASK_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
REQUEST_CANCEL_ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
ACTIVITY_TASK_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
TIMER_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
CANCEL_TIMER_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
MARKER_RECORDED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
CHILD_WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
CHILD_WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
event_id: int
|
|
78
|
+
event_time: _timestamp_pb2.Timestamp
|
|
79
|
+
version: int
|
|
80
|
+
task_id: int
|
|
81
|
+
workflow_execution_started_event_attributes: WorkflowExecutionStartedEventAttributes
|
|
82
|
+
workflow_execution_completed_event_attributes: WorkflowExecutionCompletedEventAttributes
|
|
83
|
+
workflow_execution_failed_event_attributes: WorkflowExecutionFailedEventAttributes
|
|
84
|
+
workflow_execution_timed_out_event_attributes: WorkflowExecutionTimedOutEventAttributes
|
|
85
|
+
decision_task_scheduled_event_attributes: DecisionTaskScheduledEventAttributes
|
|
86
|
+
decision_task_started_event_attributes: DecisionTaskStartedEventAttributes
|
|
87
|
+
decision_task_completed_event_attributes: DecisionTaskCompletedEventAttributes
|
|
88
|
+
decision_task_timed_out_event_attributes: DecisionTaskTimedOutEventAttributes
|
|
89
|
+
decision_task_failed_event_attributes: DecisionTaskFailedEventAttributes
|
|
90
|
+
activity_task_scheduled_event_attributes: ActivityTaskScheduledEventAttributes
|
|
91
|
+
activity_task_started_event_attributes: ActivityTaskStartedEventAttributes
|
|
92
|
+
activity_task_completed_event_attributes: ActivityTaskCompletedEventAttributes
|
|
93
|
+
activity_task_failed_event_attributes: ActivityTaskFailedEventAttributes
|
|
94
|
+
activity_task_timed_out_event_attributes: ActivityTaskTimedOutEventAttributes
|
|
95
|
+
timer_started_event_attributes: TimerStartedEventAttributes
|
|
96
|
+
timer_fired_event_attributes: TimerFiredEventAttributes
|
|
97
|
+
activity_task_cancel_requested_event_attributes: ActivityTaskCancelRequestedEventAttributes
|
|
98
|
+
request_cancel_activity_task_failed_event_attributes: RequestCancelActivityTaskFailedEventAttributes
|
|
99
|
+
activity_task_canceled_event_attributes: ActivityTaskCanceledEventAttributes
|
|
100
|
+
timer_canceled_event_attributes: TimerCanceledEventAttributes
|
|
101
|
+
cancel_timer_failed_event_attributes: CancelTimerFailedEventAttributes
|
|
102
|
+
marker_recorded_event_attributes: MarkerRecordedEventAttributes
|
|
103
|
+
workflow_execution_signaled_event_attributes: WorkflowExecutionSignaledEventAttributes
|
|
104
|
+
workflow_execution_terminated_event_attributes: WorkflowExecutionTerminatedEventAttributes
|
|
105
|
+
workflow_execution_cancel_requested_event_attributes: WorkflowExecutionCancelRequestedEventAttributes
|
|
106
|
+
workflow_execution_canceled_event_attributes: WorkflowExecutionCanceledEventAttributes
|
|
107
|
+
request_cancel_external_workflow_execution_initiated_event_attributes: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
|
|
108
|
+
request_cancel_external_workflow_execution_failed_event_attributes: RequestCancelExternalWorkflowExecutionFailedEventAttributes
|
|
109
|
+
external_workflow_execution_cancel_requested_event_attributes: ExternalWorkflowExecutionCancelRequestedEventAttributes
|
|
110
|
+
workflow_execution_continued_as_new_event_attributes: WorkflowExecutionContinuedAsNewEventAttributes
|
|
111
|
+
start_child_workflow_execution_initiated_event_attributes: StartChildWorkflowExecutionInitiatedEventAttributes
|
|
112
|
+
start_child_workflow_execution_failed_event_attributes: StartChildWorkflowExecutionFailedEventAttributes
|
|
113
|
+
child_workflow_execution_started_event_attributes: ChildWorkflowExecutionStartedEventAttributes
|
|
114
|
+
child_workflow_execution_completed_event_attributes: ChildWorkflowExecutionCompletedEventAttributes
|
|
115
|
+
child_workflow_execution_failed_event_attributes: ChildWorkflowExecutionFailedEventAttributes
|
|
116
|
+
child_workflow_execution_canceled_event_attributes: ChildWorkflowExecutionCanceledEventAttributes
|
|
117
|
+
child_workflow_execution_timed_out_event_attributes: ChildWorkflowExecutionTimedOutEventAttributes
|
|
118
|
+
child_workflow_execution_terminated_event_attributes: ChildWorkflowExecutionTerminatedEventAttributes
|
|
119
|
+
signal_external_workflow_execution_initiated_event_attributes: SignalExternalWorkflowExecutionInitiatedEventAttributes
|
|
120
|
+
signal_external_workflow_execution_failed_event_attributes: SignalExternalWorkflowExecutionFailedEventAttributes
|
|
121
|
+
external_workflow_execution_signaled_event_attributes: ExternalWorkflowExecutionSignaledEventAttributes
|
|
122
|
+
upsert_workflow_search_attributes_event_attributes: UpsertWorkflowSearchAttributesEventAttributes
|
|
123
|
+
def __init__(self, event_id: _Optional[int] = ..., event_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., version: _Optional[int] = ..., task_id: _Optional[int] = ..., workflow_execution_started_event_attributes: _Optional[_Union[WorkflowExecutionStartedEventAttributes, _Mapping]] = ..., workflow_execution_completed_event_attributes: _Optional[_Union[WorkflowExecutionCompletedEventAttributes, _Mapping]] = ..., workflow_execution_failed_event_attributes: _Optional[_Union[WorkflowExecutionFailedEventAttributes, _Mapping]] = ..., workflow_execution_timed_out_event_attributes: _Optional[_Union[WorkflowExecutionTimedOutEventAttributes, _Mapping]] = ..., decision_task_scheduled_event_attributes: _Optional[_Union[DecisionTaskScheduledEventAttributes, _Mapping]] = ..., decision_task_started_event_attributes: _Optional[_Union[DecisionTaskStartedEventAttributes, _Mapping]] = ..., decision_task_completed_event_attributes: _Optional[_Union[DecisionTaskCompletedEventAttributes, _Mapping]] = ..., decision_task_timed_out_event_attributes: _Optional[_Union[DecisionTaskTimedOutEventAttributes, _Mapping]] = ..., decision_task_failed_event_attributes: _Optional[_Union[DecisionTaskFailedEventAttributes, _Mapping]] = ..., activity_task_scheduled_event_attributes: _Optional[_Union[ActivityTaskScheduledEventAttributes, _Mapping]] = ..., activity_task_started_event_attributes: _Optional[_Union[ActivityTaskStartedEventAttributes, _Mapping]] = ..., activity_task_completed_event_attributes: _Optional[_Union[ActivityTaskCompletedEventAttributes, _Mapping]] = ..., activity_task_failed_event_attributes: _Optional[_Union[ActivityTaskFailedEventAttributes, _Mapping]] = ..., activity_task_timed_out_event_attributes: _Optional[_Union[ActivityTaskTimedOutEventAttributes, _Mapping]] = ..., timer_started_event_attributes: _Optional[_Union[TimerStartedEventAttributes, _Mapping]] = ..., timer_fired_event_attributes: _Optional[_Union[TimerFiredEventAttributes, _Mapping]] = ..., activity_task_cancel_requested_event_attributes: _Optional[_Union[ActivityTaskCancelRequestedEventAttributes, _Mapping]] = ..., request_cancel_activity_task_failed_event_attributes: _Optional[_Union[RequestCancelActivityTaskFailedEventAttributes, _Mapping]] = ..., activity_task_canceled_event_attributes: _Optional[_Union[ActivityTaskCanceledEventAttributes, _Mapping]] = ..., timer_canceled_event_attributes: _Optional[_Union[TimerCanceledEventAttributes, _Mapping]] = ..., cancel_timer_failed_event_attributes: _Optional[_Union[CancelTimerFailedEventAttributes, _Mapping]] = ..., marker_recorded_event_attributes: _Optional[_Union[MarkerRecordedEventAttributes, _Mapping]] = ..., workflow_execution_signaled_event_attributes: _Optional[_Union[WorkflowExecutionSignaledEventAttributes, _Mapping]] = ..., workflow_execution_terminated_event_attributes: _Optional[_Union[WorkflowExecutionTerminatedEventAttributes, _Mapping]] = ..., workflow_execution_cancel_requested_event_attributes: _Optional[_Union[WorkflowExecutionCancelRequestedEventAttributes, _Mapping]] = ..., workflow_execution_canceled_event_attributes: _Optional[_Union[WorkflowExecutionCanceledEventAttributes, _Mapping]] = ..., request_cancel_external_workflow_execution_initiated_event_attributes: _Optional[_Union[RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, _Mapping]] = ..., request_cancel_external_workflow_execution_failed_event_attributes: _Optional[_Union[RequestCancelExternalWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., external_workflow_execution_cancel_requested_event_attributes: _Optional[_Union[ExternalWorkflowExecutionCancelRequestedEventAttributes, _Mapping]] = ..., workflow_execution_continued_as_new_event_attributes: _Optional[_Union[WorkflowExecutionContinuedAsNewEventAttributes, _Mapping]] = ..., start_child_workflow_execution_initiated_event_attributes: _Optional[_Union[StartChildWorkflowExecutionInitiatedEventAttributes, _Mapping]] = ..., start_child_workflow_execution_failed_event_attributes: _Optional[_Union[StartChildWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., child_workflow_execution_started_event_attributes: _Optional[_Union[ChildWorkflowExecutionStartedEventAttributes, _Mapping]] = ..., child_workflow_execution_completed_event_attributes: _Optional[_Union[ChildWorkflowExecutionCompletedEventAttributes, _Mapping]] = ..., child_workflow_execution_failed_event_attributes: _Optional[_Union[ChildWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., child_workflow_execution_canceled_event_attributes: _Optional[_Union[ChildWorkflowExecutionCanceledEventAttributes, _Mapping]] = ..., child_workflow_execution_timed_out_event_attributes: _Optional[_Union[ChildWorkflowExecutionTimedOutEventAttributes, _Mapping]] = ..., child_workflow_execution_terminated_event_attributes: _Optional[_Union[ChildWorkflowExecutionTerminatedEventAttributes, _Mapping]] = ..., signal_external_workflow_execution_initiated_event_attributes: _Optional[_Union[SignalExternalWorkflowExecutionInitiatedEventAttributes, _Mapping]] = ..., signal_external_workflow_execution_failed_event_attributes: _Optional[_Union[SignalExternalWorkflowExecutionFailedEventAttributes, _Mapping]] = ..., external_workflow_execution_signaled_event_attributes: _Optional[_Union[ExternalWorkflowExecutionSignaledEventAttributes, _Mapping]] = ..., upsert_workflow_search_attributes_event_attributes: _Optional[_Union[UpsertWorkflowSearchAttributesEventAttributes, _Mapping]] = ...) -> None: ...
|
|
124
|
+
|
|
125
|
+
class WorkflowExecutionStartedEventAttributes(_message.Message):
|
|
126
|
+
__slots__ = ("workflow_type", "parent_execution_info", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "continued_execution_run_id", "initiator", "continued_failure", "last_completion_result", "original_execution_run_id", "identity", "first_execution_run_id", "retry_policy", "attempt", "expiration_time", "cron_schedule", "first_decision_task_backoff", "memo", "search_attributes", "prev_auto_reset_points", "header", "first_scheduled_time", "partition_config", "request_id", "cron_overlap_policy", "active_cluster_selection_policy")
|
|
127
|
+
class PartitionConfigEntry(_message.Message):
|
|
128
|
+
__slots__ = ("key", "value")
|
|
129
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
key: str
|
|
132
|
+
value: str
|
|
133
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
134
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
+
PARENT_EXECUTION_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
CONTINUED_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
INITIATOR_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
CONTINUED_FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
143
|
+
LAST_COMPLETION_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
144
|
+
ORIGINAL_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
FIRST_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
RETRY_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
+
EXPIRATION_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
150
|
+
CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int]
|
|
151
|
+
FIRST_DECISION_TASK_BACKOFF_FIELD_NUMBER: _ClassVar[int]
|
|
152
|
+
MEMO_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
+
SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
PREV_AUTO_RESET_POINTS_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
FIRST_SCHEDULED_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
PARTITION_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
159
|
+
CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
workflow_type: _common_pb2.WorkflowType
|
|
162
|
+
parent_execution_info: _workflow_pb2.ParentExecutionInfo
|
|
163
|
+
task_list: _tasklist_pb2.TaskList
|
|
164
|
+
input: _common_pb2.Payload
|
|
165
|
+
execution_start_to_close_timeout: _duration_pb2.Duration
|
|
166
|
+
task_start_to_close_timeout: _duration_pb2.Duration
|
|
167
|
+
continued_execution_run_id: str
|
|
168
|
+
initiator: _workflow_pb2.ContinueAsNewInitiator
|
|
169
|
+
continued_failure: _common_pb2.Failure
|
|
170
|
+
last_completion_result: _common_pb2.Payload
|
|
171
|
+
original_execution_run_id: str
|
|
172
|
+
identity: str
|
|
173
|
+
first_execution_run_id: str
|
|
174
|
+
retry_policy: _common_pb2.RetryPolicy
|
|
175
|
+
attempt: int
|
|
176
|
+
expiration_time: _timestamp_pb2.Timestamp
|
|
177
|
+
cron_schedule: str
|
|
178
|
+
first_decision_task_backoff: _duration_pb2.Duration
|
|
179
|
+
memo: _common_pb2.Memo
|
|
180
|
+
search_attributes: _common_pb2.SearchAttributes
|
|
181
|
+
prev_auto_reset_points: _workflow_pb2.ResetPoints
|
|
182
|
+
header: _common_pb2.Header
|
|
183
|
+
first_scheduled_time: _timestamp_pb2.Timestamp
|
|
184
|
+
partition_config: _containers.ScalarMap[str, str]
|
|
185
|
+
request_id: str
|
|
186
|
+
cron_overlap_policy: _workflow_pb2.CronOverlapPolicy
|
|
187
|
+
active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy
|
|
188
|
+
def __init__(self, workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., parent_execution_info: _Optional[_Union[_workflow_pb2.ParentExecutionInfo, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., continued_execution_run_id: _Optional[str] = ..., initiator: _Optional[_Union[_workflow_pb2.ContinueAsNewInitiator, str]] = ..., continued_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., last_completion_result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., original_execution_run_id: _Optional[str] = ..., identity: _Optional[str] = ..., first_execution_run_id: _Optional[str] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., attempt: _Optional[int] = ..., expiration_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., first_decision_task_backoff: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., prev_auto_reset_points: _Optional[_Union[_workflow_pb2.ResetPoints, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., first_scheduled_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., partition_config: _Optional[_Mapping[str, str]] = ..., request_id: _Optional[str] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ...
|
|
189
|
+
|
|
190
|
+
class WorkflowExecutionCompletedEventAttributes(_message.Message):
|
|
191
|
+
__slots__ = ("result", "decision_task_completed_event_id")
|
|
192
|
+
RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
194
|
+
result: _common_pb2.Payload
|
|
195
|
+
decision_task_completed_event_id: int
|
|
196
|
+
def __init__(self, result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ...
|
|
197
|
+
|
|
198
|
+
class WorkflowExecutionFailedEventAttributes(_message.Message):
|
|
199
|
+
__slots__ = ("failure", "decision_task_completed_event_id")
|
|
200
|
+
FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
201
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
202
|
+
failure: _common_pb2.Failure
|
|
203
|
+
decision_task_completed_event_id: int
|
|
204
|
+
def __init__(self, failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ...
|
|
205
|
+
|
|
206
|
+
class WorkflowExecutionTimedOutEventAttributes(_message.Message):
|
|
207
|
+
__slots__ = ("timeout_type",)
|
|
208
|
+
TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
209
|
+
timeout_type: _workflow_pb2.TimeoutType
|
|
210
|
+
def __init__(self, timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ...) -> None: ...
|
|
211
|
+
|
|
212
|
+
class DecisionTaskScheduledEventAttributes(_message.Message):
|
|
213
|
+
__slots__ = ("task_list", "start_to_close_timeout", "attempt")
|
|
214
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
215
|
+
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
216
|
+
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
+
task_list: _tasklist_pb2.TaskList
|
|
218
|
+
start_to_close_timeout: _duration_pb2.Duration
|
|
219
|
+
attempt: int
|
|
220
|
+
def __init__(self, task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., attempt: _Optional[int] = ...) -> None: ...
|
|
221
|
+
|
|
222
|
+
class DecisionTaskStartedEventAttributes(_message.Message):
|
|
223
|
+
__slots__ = ("scheduled_event_id", "identity", "request_id")
|
|
224
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
225
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
+
scheduled_event_id: int
|
|
228
|
+
identity: str
|
|
229
|
+
request_id: str
|
|
230
|
+
def __init__(self, scheduled_event_id: _Optional[int] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ...) -> None: ...
|
|
231
|
+
|
|
232
|
+
class DecisionTaskCompletedEventAttributes(_message.Message):
|
|
233
|
+
__slots__ = ("scheduled_event_id", "started_event_id", "identity", "binary_checksum", "execution_context")
|
|
234
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
235
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
236
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
237
|
+
BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int]
|
|
238
|
+
EXECUTION_CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
239
|
+
scheduled_event_id: int
|
|
240
|
+
started_event_id: int
|
|
241
|
+
identity: str
|
|
242
|
+
binary_checksum: str
|
|
243
|
+
execution_context: bytes
|
|
244
|
+
def __init__(self, scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ..., binary_checksum: _Optional[str] = ..., execution_context: _Optional[bytes] = ...) -> None: ...
|
|
245
|
+
|
|
246
|
+
class DecisionTaskTimedOutEventAttributes(_message.Message):
|
|
247
|
+
__slots__ = ("scheduled_event_id", "started_event_id", "timeout_type", "base_run_id", "new_run_id", "fork_event_version", "reason", "cause", "request_id")
|
|
248
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
249
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
250
|
+
TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
251
|
+
BASE_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
+
NEW_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
FORK_EVENT_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
255
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
256
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
257
|
+
scheduled_event_id: int
|
|
258
|
+
started_event_id: int
|
|
259
|
+
timeout_type: _workflow_pb2.TimeoutType
|
|
260
|
+
base_run_id: str
|
|
261
|
+
new_run_id: str
|
|
262
|
+
fork_event_version: int
|
|
263
|
+
reason: str
|
|
264
|
+
cause: _workflow_pb2.DecisionTaskTimedOutCause
|
|
265
|
+
request_id: str
|
|
266
|
+
def __init__(self, scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ..., base_run_id: _Optional[str] = ..., new_run_id: _Optional[str] = ..., fork_event_version: _Optional[int] = ..., reason: _Optional[str] = ..., cause: _Optional[_Union[_workflow_pb2.DecisionTaskTimedOutCause, str]] = ..., request_id: _Optional[str] = ...) -> None: ...
|
|
267
|
+
|
|
268
|
+
class DecisionTaskFailedEventAttributes(_message.Message):
|
|
269
|
+
__slots__ = ("scheduled_event_id", "started_event_id", "cause", "failure", "identity", "base_run_id", "new_run_id", "fork_event_version", "binary_checksum", "request_id")
|
|
270
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
271
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
272
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
273
|
+
FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
274
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
275
|
+
BASE_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
276
|
+
NEW_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
277
|
+
FORK_EVENT_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
278
|
+
BINARY_CHECKSUM_FIELD_NUMBER: _ClassVar[int]
|
|
279
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
280
|
+
scheduled_event_id: int
|
|
281
|
+
started_event_id: int
|
|
282
|
+
cause: _workflow_pb2.DecisionTaskFailedCause
|
|
283
|
+
failure: _common_pb2.Failure
|
|
284
|
+
identity: str
|
|
285
|
+
base_run_id: str
|
|
286
|
+
new_run_id: str
|
|
287
|
+
fork_event_version: int
|
|
288
|
+
binary_checksum: str
|
|
289
|
+
request_id: str
|
|
290
|
+
def __init__(self, scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., cause: _Optional[_Union[_workflow_pb2.DecisionTaskFailedCause, str]] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., identity: _Optional[str] = ..., base_run_id: _Optional[str] = ..., new_run_id: _Optional[str] = ..., fork_event_version: _Optional[int] = ..., binary_checksum: _Optional[str] = ..., request_id: _Optional[str] = ...) -> None: ...
|
|
291
|
+
|
|
292
|
+
class ActivityTaskScheduledEventAttributes(_message.Message):
|
|
293
|
+
__slots__ = ("activity_id", "activity_type", "domain", "task_list", "input", "schedule_to_close_timeout", "schedule_to_start_timeout", "start_to_close_timeout", "heartbeat_timeout", "decision_task_completed_event_id", "retry_policy", "header")
|
|
294
|
+
ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
295
|
+
ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
296
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
297
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
298
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
299
|
+
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
300
|
+
SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
301
|
+
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
302
|
+
HEARTBEAT_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
303
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
304
|
+
RETRY_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
305
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
306
|
+
activity_id: str
|
|
307
|
+
activity_type: _common_pb2.ActivityType
|
|
308
|
+
domain: str
|
|
309
|
+
task_list: _tasklist_pb2.TaskList
|
|
310
|
+
input: _common_pb2.Payload
|
|
311
|
+
schedule_to_close_timeout: _duration_pb2.Duration
|
|
312
|
+
schedule_to_start_timeout: _duration_pb2.Duration
|
|
313
|
+
start_to_close_timeout: _duration_pb2.Duration
|
|
314
|
+
heartbeat_timeout: _duration_pb2.Duration
|
|
315
|
+
decision_task_completed_event_id: int
|
|
316
|
+
retry_policy: _common_pb2.RetryPolicy
|
|
317
|
+
header: _common_pb2.Header
|
|
318
|
+
def __init__(self, activity_id: _Optional[str] = ..., activity_type: _Optional[_Union[_common_pb2.ActivityType, _Mapping]] = ..., domain: _Optional[str] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., schedule_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., schedule_to_start_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., heartbeat_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ...) -> None: ...
|
|
319
|
+
|
|
320
|
+
class ActivityTaskStartedEventAttributes(_message.Message):
|
|
321
|
+
__slots__ = ("scheduled_event_id", "identity", "request_id", "attempt", "last_failure")
|
|
322
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
323
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
324
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
325
|
+
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
326
|
+
LAST_FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
327
|
+
scheduled_event_id: int
|
|
328
|
+
identity: str
|
|
329
|
+
request_id: str
|
|
330
|
+
attempt: int
|
|
331
|
+
last_failure: _common_pb2.Failure
|
|
332
|
+
def __init__(self, scheduled_event_id: _Optional[int] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ..., attempt: _Optional[int] = ..., last_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ...) -> None: ...
|
|
333
|
+
|
|
334
|
+
class ActivityTaskCompletedEventAttributes(_message.Message):
|
|
335
|
+
__slots__ = ("result", "scheduled_event_id", "started_event_id", "identity")
|
|
336
|
+
RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
337
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
338
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
339
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
340
|
+
result: _common_pb2.Payload
|
|
341
|
+
scheduled_event_id: int
|
|
342
|
+
started_event_id: int
|
|
343
|
+
identity: str
|
|
344
|
+
def __init__(self, result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ...
|
|
345
|
+
|
|
346
|
+
class ActivityTaskFailedEventAttributes(_message.Message):
|
|
347
|
+
__slots__ = ("failure", "scheduled_event_id", "started_event_id", "identity")
|
|
348
|
+
FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
349
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
350
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
351
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
352
|
+
failure: _common_pb2.Failure
|
|
353
|
+
scheduled_event_id: int
|
|
354
|
+
started_event_id: int
|
|
355
|
+
identity: str
|
|
356
|
+
def __init__(self, failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ...
|
|
357
|
+
|
|
358
|
+
class ActivityTaskTimedOutEventAttributes(_message.Message):
|
|
359
|
+
__slots__ = ("details", "scheduled_event_id", "started_event_id", "timeout_type", "last_failure")
|
|
360
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
361
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
362
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
363
|
+
TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
364
|
+
LAST_FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
365
|
+
details: _common_pb2.Payload
|
|
366
|
+
scheduled_event_id: int
|
|
367
|
+
started_event_id: int
|
|
368
|
+
timeout_type: _workflow_pb2.TimeoutType
|
|
369
|
+
last_failure: _common_pb2.Failure
|
|
370
|
+
def __init__(self, details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ..., last_failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ...) -> None: ...
|
|
371
|
+
|
|
372
|
+
class ActivityTaskCancelRequestedEventAttributes(_message.Message):
|
|
373
|
+
__slots__ = ("activity_id", "decision_task_completed_event_id")
|
|
374
|
+
ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
375
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
376
|
+
activity_id: str
|
|
377
|
+
decision_task_completed_event_id: int
|
|
378
|
+
def __init__(self, activity_id: _Optional[str] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ...
|
|
379
|
+
|
|
380
|
+
class RequestCancelActivityTaskFailedEventAttributes(_message.Message):
|
|
381
|
+
__slots__ = ("activity_id", "cause", "decision_task_completed_event_id")
|
|
382
|
+
ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
383
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
384
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
385
|
+
activity_id: str
|
|
386
|
+
cause: str
|
|
387
|
+
decision_task_completed_event_id: int
|
|
388
|
+
def __init__(self, activity_id: _Optional[str] = ..., cause: _Optional[str] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ...
|
|
389
|
+
|
|
390
|
+
class ActivityTaskCanceledEventAttributes(_message.Message):
|
|
391
|
+
__slots__ = ("details", "latest_cancel_requested_event_id", "scheduled_event_id", "started_event_id", "identity")
|
|
392
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
393
|
+
LATEST_CANCEL_REQUESTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
394
|
+
SCHEDULED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
395
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
396
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
397
|
+
details: _common_pb2.Payload
|
|
398
|
+
latest_cancel_requested_event_id: int
|
|
399
|
+
scheduled_event_id: int
|
|
400
|
+
started_event_id: int
|
|
401
|
+
identity: str
|
|
402
|
+
def __init__(self, details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., latest_cancel_requested_event_id: _Optional[int] = ..., scheduled_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ...
|
|
403
|
+
|
|
404
|
+
class TimerStartedEventAttributes(_message.Message):
|
|
405
|
+
__slots__ = ("timer_id", "start_to_fire_timeout", "decision_task_completed_event_id")
|
|
406
|
+
TIMER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
407
|
+
START_TO_FIRE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
408
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
409
|
+
timer_id: str
|
|
410
|
+
start_to_fire_timeout: _duration_pb2.Duration
|
|
411
|
+
decision_task_completed_event_id: int
|
|
412
|
+
def __init__(self, timer_id: _Optional[str] = ..., start_to_fire_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ...
|
|
413
|
+
|
|
414
|
+
class TimerFiredEventAttributes(_message.Message):
|
|
415
|
+
__slots__ = ("timer_id", "started_event_id")
|
|
416
|
+
TIMER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
417
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
418
|
+
timer_id: str
|
|
419
|
+
started_event_id: int
|
|
420
|
+
def __init__(self, timer_id: _Optional[str] = ..., started_event_id: _Optional[int] = ...) -> None: ...
|
|
421
|
+
|
|
422
|
+
class TimerCanceledEventAttributes(_message.Message):
|
|
423
|
+
__slots__ = ("timer_id", "started_event_id", "decision_task_completed_event_id", "identity")
|
|
424
|
+
TIMER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
425
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
426
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
427
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
428
|
+
timer_id: str
|
|
429
|
+
started_event_id: int
|
|
430
|
+
decision_task_completed_event_id: int
|
|
431
|
+
identity: str
|
|
432
|
+
def __init__(self, timer_id: _Optional[str] = ..., started_event_id: _Optional[int] = ..., decision_task_completed_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ...
|
|
433
|
+
|
|
434
|
+
class CancelTimerFailedEventAttributes(_message.Message):
|
|
435
|
+
__slots__ = ("timer_id", "cause", "decision_task_completed_event_id", "identity")
|
|
436
|
+
TIMER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
437
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
438
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
439
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
440
|
+
timer_id: str
|
|
441
|
+
cause: str
|
|
442
|
+
decision_task_completed_event_id: int
|
|
443
|
+
identity: str
|
|
444
|
+
def __init__(self, timer_id: _Optional[str] = ..., cause: _Optional[str] = ..., decision_task_completed_event_id: _Optional[int] = ..., identity: _Optional[str] = ...) -> None: ...
|
|
445
|
+
|
|
446
|
+
class WorkflowExecutionContinuedAsNewEventAttributes(_message.Message):
|
|
447
|
+
__slots__ = ("new_execution_run_id", "workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "decision_task_completed_event_id", "backoff_start_interval", "initiator", "failure", "last_completion_result", "header", "memo", "search_attributes")
|
|
448
|
+
NEW_EXECUTION_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
449
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
450
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
451
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
452
|
+
EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
453
|
+
TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
454
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
455
|
+
BACKOFF_START_INTERVAL_FIELD_NUMBER: _ClassVar[int]
|
|
456
|
+
INITIATOR_FIELD_NUMBER: _ClassVar[int]
|
|
457
|
+
FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
458
|
+
LAST_COMPLETION_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
459
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
460
|
+
MEMO_FIELD_NUMBER: _ClassVar[int]
|
|
461
|
+
SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
462
|
+
new_execution_run_id: str
|
|
463
|
+
workflow_type: _common_pb2.WorkflowType
|
|
464
|
+
task_list: _tasklist_pb2.TaskList
|
|
465
|
+
input: _common_pb2.Payload
|
|
466
|
+
execution_start_to_close_timeout: _duration_pb2.Duration
|
|
467
|
+
task_start_to_close_timeout: _duration_pb2.Duration
|
|
468
|
+
decision_task_completed_event_id: int
|
|
469
|
+
backoff_start_interval: _duration_pb2.Duration
|
|
470
|
+
initiator: _workflow_pb2.ContinueAsNewInitiator
|
|
471
|
+
failure: _common_pb2.Failure
|
|
472
|
+
last_completion_result: _common_pb2.Payload
|
|
473
|
+
header: _common_pb2.Header
|
|
474
|
+
memo: _common_pb2.Memo
|
|
475
|
+
search_attributes: _common_pb2.SearchAttributes
|
|
476
|
+
def __init__(self, new_execution_run_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ..., backoff_start_interval: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., initiator: _Optional[_Union[_workflow_pb2.ContinueAsNewInitiator, str]] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ..., last_completion_result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ...) -> None: ...
|
|
477
|
+
|
|
478
|
+
class WorkflowExecutionCancelRequestedEventAttributes(_message.Message):
|
|
479
|
+
__slots__ = ("cause", "identity", "external_execution_info", "request_id")
|
|
480
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
481
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
482
|
+
EXTERNAL_EXECUTION_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
483
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
484
|
+
cause: str
|
|
485
|
+
identity: str
|
|
486
|
+
external_execution_info: _workflow_pb2.ExternalExecutionInfo
|
|
487
|
+
request_id: str
|
|
488
|
+
def __init__(self, cause: _Optional[str] = ..., identity: _Optional[str] = ..., external_execution_info: _Optional[_Union[_workflow_pb2.ExternalExecutionInfo, _Mapping]] = ..., request_id: _Optional[str] = ...) -> None: ...
|
|
489
|
+
|
|
490
|
+
class WorkflowExecutionCanceledEventAttributes(_message.Message):
|
|
491
|
+
__slots__ = ("decision_task_completed_event_id", "details")
|
|
492
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
493
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
494
|
+
decision_task_completed_event_id: int
|
|
495
|
+
details: _common_pb2.Payload
|
|
496
|
+
def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ...
|
|
497
|
+
|
|
498
|
+
class MarkerRecordedEventAttributes(_message.Message):
|
|
499
|
+
__slots__ = ("marker_name", "details", "decision_task_completed_event_id", "header")
|
|
500
|
+
MARKER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
501
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
502
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
503
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
504
|
+
marker_name: str
|
|
505
|
+
details: _common_pb2.Payload
|
|
506
|
+
decision_task_completed_event_id: int
|
|
507
|
+
header: _common_pb2.Header
|
|
508
|
+
def __init__(self, marker_name: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., decision_task_completed_event_id: _Optional[int] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ...) -> None: ...
|
|
509
|
+
|
|
510
|
+
class WorkflowExecutionSignaledEventAttributes(_message.Message):
|
|
511
|
+
__slots__ = ("signal_name", "input", "identity", "request_id")
|
|
512
|
+
SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
513
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
514
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
515
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
516
|
+
signal_name: str
|
|
517
|
+
input: _common_pb2.Payload
|
|
518
|
+
identity: str
|
|
519
|
+
request_id: str
|
|
520
|
+
def __init__(self, signal_name: _Optional[str] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ..., request_id: _Optional[str] = ...) -> None: ...
|
|
521
|
+
|
|
522
|
+
class WorkflowExecutionTerminatedEventAttributes(_message.Message):
|
|
523
|
+
__slots__ = ("reason", "details", "identity")
|
|
524
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
525
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
526
|
+
IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
527
|
+
reason: str
|
|
528
|
+
details: _common_pb2.Payload
|
|
529
|
+
identity: str
|
|
530
|
+
def __init__(self, reason: _Optional[str] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., identity: _Optional[str] = ...) -> None: ...
|
|
531
|
+
|
|
532
|
+
class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(_message.Message):
|
|
533
|
+
__slots__ = ("decision_task_completed_event_id", "domain", "workflow_execution", "control", "child_workflow_only")
|
|
534
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
535
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
536
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
537
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
538
|
+
CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int]
|
|
539
|
+
decision_task_completed_event_id: int
|
|
540
|
+
domain: str
|
|
541
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
542
|
+
control: bytes
|
|
543
|
+
child_workflow_only: bool
|
|
544
|
+
def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., control: _Optional[bytes] = ..., child_workflow_only: bool = ...) -> None: ...
|
|
545
|
+
|
|
546
|
+
class RequestCancelExternalWorkflowExecutionFailedEventAttributes(_message.Message):
|
|
547
|
+
__slots__ = ("cause", "decision_task_completed_event_id", "domain", "workflow_execution", "initiated_event_id", "control")
|
|
548
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
549
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
550
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
551
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
552
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
553
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
554
|
+
cause: _workflow_pb2.CancelExternalWorkflowExecutionFailedCause
|
|
555
|
+
decision_task_completed_event_id: int
|
|
556
|
+
domain: str
|
|
557
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
558
|
+
initiated_event_id: int
|
|
559
|
+
control: bytes
|
|
560
|
+
def __init__(self, cause: _Optional[_Union[_workflow_pb2.CancelExternalWorkflowExecutionFailedCause, str]] = ..., decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., control: _Optional[bytes] = ...) -> None: ...
|
|
561
|
+
|
|
562
|
+
class ExternalWorkflowExecutionCancelRequestedEventAttributes(_message.Message):
|
|
563
|
+
__slots__ = ("initiated_event_id", "domain", "workflow_execution")
|
|
564
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
565
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
566
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
567
|
+
initiated_event_id: int
|
|
568
|
+
domain: str
|
|
569
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
570
|
+
def __init__(self, initiated_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ...) -> None: ...
|
|
571
|
+
|
|
572
|
+
class SignalExternalWorkflowExecutionInitiatedEventAttributes(_message.Message):
|
|
573
|
+
__slots__ = ("decision_task_completed_event_id", "domain", "workflow_execution", "signal_name", "input", "control", "child_workflow_only")
|
|
574
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
575
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
576
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
577
|
+
SIGNAL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
578
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
579
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
580
|
+
CHILD_WORKFLOW_ONLY_FIELD_NUMBER: _ClassVar[int]
|
|
581
|
+
decision_task_completed_event_id: int
|
|
582
|
+
domain: str
|
|
583
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
584
|
+
signal_name: str
|
|
585
|
+
input: _common_pb2.Payload
|
|
586
|
+
control: bytes
|
|
587
|
+
child_workflow_only: bool
|
|
588
|
+
def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., signal_name: _Optional[str] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., control: _Optional[bytes] = ..., child_workflow_only: bool = ...) -> None: ...
|
|
589
|
+
|
|
590
|
+
class SignalExternalWorkflowExecutionFailedEventAttributes(_message.Message):
|
|
591
|
+
__slots__ = ("cause", "decision_task_completed_event_id", "domain", "workflow_execution", "initiated_event_id", "control")
|
|
592
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
593
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
594
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
595
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
596
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
597
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
598
|
+
cause: _workflow_pb2.SignalExternalWorkflowExecutionFailedCause
|
|
599
|
+
decision_task_completed_event_id: int
|
|
600
|
+
domain: str
|
|
601
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
602
|
+
initiated_event_id: int
|
|
603
|
+
control: bytes
|
|
604
|
+
def __init__(self, cause: _Optional[_Union[_workflow_pb2.SignalExternalWorkflowExecutionFailedCause, str]] = ..., decision_task_completed_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., control: _Optional[bytes] = ...) -> None: ...
|
|
605
|
+
|
|
606
|
+
class ExternalWorkflowExecutionSignaledEventAttributes(_message.Message):
|
|
607
|
+
__slots__ = ("initiated_event_id", "domain", "workflow_execution", "control")
|
|
608
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
609
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
610
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
611
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
612
|
+
initiated_event_id: int
|
|
613
|
+
domain: str
|
|
614
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
615
|
+
control: bytes
|
|
616
|
+
def __init__(self, initiated_event_id: _Optional[int] = ..., domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., control: _Optional[bytes] = ...) -> None: ...
|
|
617
|
+
|
|
618
|
+
class UpsertWorkflowSearchAttributesEventAttributes(_message.Message):
|
|
619
|
+
__slots__ = ("decision_task_completed_event_id", "search_attributes")
|
|
620
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
621
|
+
SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
622
|
+
decision_task_completed_event_id: int
|
|
623
|
+
search_attributes: _common_pb2.SearchAttributes
|
|
624
|
+
def __init__(self, decision_task_completed_event_id: _Optional[int] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ...) -> None: ...
|
|
625
|
+
|
|
626
|
+
class StartChildWorkflowExecutionInitiatedEventAttributes(_message.Message):
|
|
627
|
+
__slots__ = ("domain", "workflow_id", "workflow_type", "task_list", "input", "execution_start_to_close_timeout", "task_start_to_close_timeout", "parent_close_policy", "control", "decision_task_completed_event_id", "workflow_id_reuse_policy", "retry_policy", "cron_schedule", "header", "memo", "search_attributes", "delay_start", "jitter_start", "first_run_at", "cron_overlap_policy", "active_cluster_selection_policy")
|
|
628
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
629
|
+
WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
630
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
631
|
+
TASK_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
632
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
633
|
+
EXECUTION_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
634
|
+
TASK_START_TO_CLOSE_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
635
|
+
PARENT_CLOSE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
636
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
637
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
638
|
+
WORKFLOW_ID_REUSE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
639
|
+
RETRY_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
640
|
+
CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int]
|
|
641
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
642
|
+
MEMO_FIELD_NUMBER: _ClassVar[int]
|
|
643
|
+
SEARCH_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
644
|
+
DELAY_START_FIELD_NUMBER: _ClassVar[int]
|
|
645
|
+
JITTER_START_FIELD_NUMBER: _ClassVar[int]
|
|
646
|
+
FIRST_RUN_AT_FIELD_NUMBER: _ClassVar[int]
|
|
647
|
+
CRON_OVERLAP_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
648
|
+
ACTIVE_CLUSTER_SELECTION_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
649
|
+
domain: str
|
|
650
|
+
workflow_id: str
|
|
651
|
+
workflow_type: _common_pb2.WorkflowType
|
|
652
|
+
task_list: _tasklist_pb2.TaskList
|
|
653
|
+
input: _common_pb2.Payload
|
|
654
|
+
execution_start_to_close_timeout: _duration_pb2.Duration
|
|
655
|
+
task_start_to_close_timeout: _duration_pb2.Duration
|
|
656
|
+
parent_close_policy: _workflow_pb2.ParentClosePolicy
|
|
657
|
+
control: bytes
|
|
658
|
+
decision_task_completed_event_id: int
|
|
659
|
+
workflow_id_reuse_policy: _workflow_pb2.WorkflowIdReusePolicy
|
|
660
|
+
retry_policy: _common_pb2.RetryPolicy
|
|
661
|
+
cron_schedule: str
|
|
662
|
+
header: _common_pb2.Header
|
|
663
|
+
memo: _common_pb2.Memo
|
|
664
|
+
search_attributes: _common_pb2.SearchAttributes
|
|
665
|
+
delay_start: _duration_pb2.Duration
|
|
666
|
+
jitter_start: _duration_pb2.Duration
|
|
667
|
+
first_run_at: _timestamp_pb2.Timestamp
|
|
668
|
+
cron_overlap_policy: _workflow_pb2.CronOverlapPolicy
|
|
669
|
+
active_cluster_selection_policy: _common_pb2.ActiveClusterSelectionPolicy
|
|
670
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., task_list: _Optional[_Union[_tasklist_pb2.TaskList, _Mapping]] = ..., input: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., execution_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., task_start_to_close_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., parent_close_policy: _Optional[_Union[_workflow_pb2.ParentClosePolicy, str]] = ..., control: _Optional[bytes] = ..., decision_task_completed_event_id: _Optional[int] = ..., workflow_id_reuse_policy: _Optional[_Union[_workflow_pb2.WorkflowIdReusePolicy, str]] = ..., retry_policy: _Optional[_Union[_common_pb2.RetryPolicy, _Mapping]] = ..., cron_schedule: _Optional[str] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ..., memo: _Optional[_Union[_common_pb2.Memo, _Mapping]] = ..., search_attributes: _Optional[_Union[_common_pb2.SearchAttributes, _Mapping]] = ..., delay_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., jitter_start: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., first_run_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., cron_overlap_policy: _Optional[_Union[_workflow_pb2.CronOverlapPolicy, str]] = ..., active_cluster_selection_policy: _Optional[_Union[_common_pb2.ActiveClusterSelectionPolicy, _Mapping]] = ...) -> None: ...
|
|
671
|
+
|
|
672
|
+
class StartChildWorkflowExecutionFailedEventAttributes(_message.Message):
|
|
673
|
+
__slots__ = ("domain", "workflow_id", "workflow_type", "cause", "control", "initiated_event_id", "decision_task_completed_event_id")
|
|
674
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
675
|
+
WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
676
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
677
|
+
CAUSE_FIELD_NUMBER: _ClassVar[int]
|
|
678
|
+
CONTROL_FIELD_NUMBER: _ClassVar[int]
|
|
679
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
680
|
+
DECISION_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
681
|
+
domain: str
|
|
682
|
+
workflow_id: str
|
|
683
|
+
workflow_type: _common_pb2.WorkflowType
|
|
684
|
+
cause: _workflow_pb2.ChildWorkflowExecutionFailedCause
|
|
685
|
+
control: bytes
|
|
686
|
+
initiated_event_id: int
|
|
687
|
+
decision_task_completed_event_id: int
|
|
688
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_id: _Optional[str] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., cause: _Optional[_Union[_workflow_pb2.ChildWorkflowExecutionFailedCause, str]] = ..., control: _Optional[bytes] = ..., initiated_event_id: _Optional[int] = ..., decision_task_completed_event_id: _Optional[int] = ...) -> None: ...
|
|
689
|
+
|
|
690
|
+
class ChildWorkflowExecutionStartedEventAttributes(_message.Message):
|
|
691
|
+
__slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "header")
|
|
692
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
693
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
694
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
695
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
696
|
+
HEADER_FIELD_NUMBER: _ClassVar[int]
|
|
697
|
+
domain: str
|
|
698
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
699
|
+
workflow_type: _common_pb2.WorkflowType
|
|
700
|
+
initiated_event_id: int
|
|
701
|
+
header: _common_pb2.Header
|
|
702
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., header: _Optional[_Union[_common_pb2.Header, _Mapping]] = ...) -> None: ...
|
|
703
|
+
|
|
704
|
+
class ChildWorkflowExecutionCompletedEventAttributes(_message.Message):
|
|
705
|
+
__slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "result")
|
|
706
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
707
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
708
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
709
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
710
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
711
|
+
RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
712
|
+
domain: str
|
|
713
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
714
|
+
workflow_type: _common_pb2.WorkflowType
|
|
715
|
+
initiated_event_id: int
|
|
716
|
+
started_event_id: int
|
|
717
|
+
result: _common_pb2.Payload
|
|
718
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., result: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ...
|
|
719
|
+
|
|
720
|
+
class ChildWorkflowExecutionFailedEventAttributes(_message.Message):
|
|
721
|
+
__slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "failure")
|
|
722
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
723
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
724
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
725
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
726
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
727
|
+
FAILURE_FIELD_NUMBER: _ClassVar[int]
|
|
728
|
+
domain: str
|
|
729
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
730
|
+
workflow_type: _common_pb2.WorkflowType
|
|
731
|
+
initiated_event_id: int
|
|
732
|
+
started_event_id: int
|
|
733
|
+
failure: _common_pb2.Failure
|
|
734
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., failure: _Optional[_Union[_common_pb2.Failure, _Mapping]] = ...) -> None: ...
|
|
735
|
+
|
|
736
|
+
class ChildWorkflowExecutionCanceledEventAttributes(_message.Message):
|
|
737
|
+
__slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "details")
|
|
738
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
739
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
740
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
741
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
742
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
743
|
+
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
744
|
+
domain: str
|
|
745
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
746
|
+
workflow_type: _common_pb2.WorkflowType
|
|
747
|
+
initiated_event_id: int
|
|
748
|
+
started_event_id: int
|
|
749
|
+
details: _common_pb2.Payload
|
|
750
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., details: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ...
|
|
751
|
+
|
|
752
|
+
class ChildWorkflowExecutionTimedOutEventAttributes(_message.Message):
|
|
753
|
+
__slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id", "timeout_type")
|
|
754
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
755
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
756
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
757
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
758
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
759
|
+
TIMEOUT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
760
|
+
domain: str
|
|
761
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
762
|
+
workflow_type: _common_pb2.WorkflowType
|
|
763
|
+
initiated_event_id: int
|
|
764
|
+
started_event_id: int
|
|
765
|
+
timeout_type: _workflow_pb2.TimeoutType
|
|
766
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ..., timeout_type: _Optional[_Union[_workflow_pb2.TimeoutType, str]] = ...) -> None: ...
|
|
767
|
+
|
|
768
|
+
class ChildWorkflowExecutionTerminatedEventAttributes(_message.Message):
|
|
769
|
+
__slots__ = ("domain", "workflow_execution", "workflow_type", "initiated_event_id", "started_event_id")
|
|
770
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
771
|
+
WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int]
|
|
772
|
+
WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
773
|
+
INITIATED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
774
|
+
STARTED_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
775
|
+
domain: str
|
|
776
|
+
workflow_execution: _common_pb2.WorkflowExecution
|
|
777
|
+
workflow_type: _common_pb2.WorkflowType
|
|
778
|
+
initiated_event_id: int
|
|
779
|
+
started_event_id: int
|
|
780
|
+
def __init__(self, domain: _Optional[str] = ..., workflow_execution: _Optional[_Union[_common_pb2.WorkflowExecution, _Mapping]] = ..., workflow_type: _Optional[_Union[_common_pb2.WorkflowType, _Mapping]] = ..., initiated_event_id: _Optional[int] = ..., started_event_id: _Optional[int] = ...) -> None: ...
|