@@ -57,6 +57,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message):
5757 HEARTBEAT_TIMEOUT_FIELD_NUMBER : builtins .int
5858 RETRY_POLICY_FIELD_NUMBER : builtins .int
5959 REQUEST_EAGER_EXECUTION_FIELD_NUMBER : builtins .int
60+ USE_COMPATIBLE_VERSION_FIELD_NUMBER : builtins .int
6061 activity_id : builtins .str
6162 @property
6263 def activity_type (self ) -> temporalio .api .common .v1 .message_pb2 .ActivityType : ...
@@ -110,6 +111,11 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message):
110111 """Request to start the activity directly bypassing matching service and worker polling
111112 The slot for executing the activity should be reserved when setting this field to true.
112113 """
114+ use_compatible_version : builtins .bool
115+ """If this is set, the workflow executing this command wishes to start the activity using
116+ a version compatible with the version that this workflow most recently ran on, if such
117+ behavior is possible.
118+ """
113119 def __init__ (
114120 self ,
115121 * ,
@@ -124,6 +130,7 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message):
124130 heartbeat_timeout : google .protobuf .duration_pb2 .Duration | None = ...,
125131 retry_policy : temporalio .api .common .v1 .message_pb2 .RetryPolicy | None = ...,
126132 request_eager_execution : builtins .bool = ...,
133+ use_compatible_version : builtins .bool = ...,
127134 ) -> None : ...
128135 def HasField (
129136 self ,
@@ -173,6 +180,8 @@ class ScheduleActivityTaskCommandAttributes(google.protobuf.message.Message):
173180 b"start_to_close_timeout" ,
174181 "task_queue" ,
175182 b"task_queue" ,
183+ "use_compatible_version" ,
184+ b"use_compatible_version" ,
176185 ],
177186 ) -> None : ...
178187
@@ -591,6 +600,7 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me
591600 HEADER_FIELD_NUMBER : builtins .int
592601 MEMO_FIELD_NUMBER : builtins .int
593602 SEARCH_ATTRIBUTES_FIELD_NUMBER : builtins .int
603+ USE_COMPATIBLE_VERSION_FIELD_NUMBER : builtins .int
594604 @property
595605 def workflow_type (self ) -> temporalio .api .common .v1 .message_pb2 .WorkflowType : ...
596606 @property
@@ -626,6 +636,10 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me
626636 def search_attributes (
627637 self ,
628638 ) -> temporalio .api .common .v1 .message_pb2 .SearchAttributes : ...
639+ use_compatible_version : builtins .bool
640+ """If this is set, the workflow executing this command wishes to continue as new using a version
641+ compatible with the version that this workflow most recently ran on.
642+ """
629643 def __init__ (
630644 self ,
631645 * ,
@@ -645,6 +659,7 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me
645659 memo : temporalio .api .common .v1 .message_pb2 .Memo | None = ...,
646660 search_attributes : temporalio .api .common .v1 .message_pb2 .SearchAttributes
647661 | None = ...,
662+ use_compatible_version : builtins .bool = ...,
648663 ) -> None : ...
649664 def HasField (
650665 self ,
@@ -700,6 +715,8 @@ class ContinueAsNewWorkflowExecutionCommandAttributes(google.protobuf.message.Me
700715 b"search_attributes" ,
701716 "task_queue" ,
702717 b"task_queue" ,
718+ "use_compatible_version" ,
719+ b"use_compatible_version" ,
703720 "workflow_run_timeout" ,
704721 b"workflow_run_timeout" ,
705722 "workflow_task_timeout" ,
@@ -732,6 +749,7 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa
732749 HEADER_FIELD_NUMBER : builtins .int
733750 MEMO_FIELD_NUMBER : builtins .int
734751 SEARCH_ATTRIBUTES_FIELD_NUMBER : builtins .int
752+ USE_COMPATIBLE_VERSION_FIELD_NUMBER : builtins .int
735753 namespace : builtins .str
736754 workflow_id : builtins .str
737755 @property
@@ -766,6 +784,11 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa
766784 def search_attributes (
767785 self ,
768786 ) -> temporalio .api .common .v1 .message_pb2 .SearchAttributes : ...
787+ use_compatible_version : builtins .bool
788+ """If this is set, the workflow executing this command wishes to start the child workflow using
789+ a version compatible with the version that this workflow most recently ran on, if such
790+ behavior is possible.
791+ """
769792 def __init__ (
770793 self ,
771794 * ,
@@ -786,6 +809,7 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa
786809 memo : temporalio .api .common .v1 .message_pb2 .Memo | None = ...,
787810 search_attributes : temporalio .api .common .v1 .message_pb2 .SearchAttributes
788811 | None = ...,
812+ use_compatible_version : builtins .bool = ...,
789813 ) -> None : ...
790814 def HasField (
791815 self ,
@@ -835,6 +859,8 @@ class StartChildWorkflowExecutionCommandAttributes(google.protobuf.message.Messa
835859 b"search_attributes" ,
836860 "task_queue" ,
837861 b"task_queue" ,
862+ "use_compatible_version" ,
863+ b"use_compatible_version" ,
838864 "workflow_execution_timeout" ,
839865 b"workflow_execution_timeout" ,
840866 "workflow_id" ,
0 commit comments