@@ -90,6 +90,7 @@ class WorkflowCommand(google.protobuf.message.Message):
90
90
SCHEDULE_LOCAL_ACTIVITY_FIELD_NUMBER : builtins .int
91
91
REQUEST_CANCEL_LOCAL_ACTIVITY_FIELD_NUMBER : builtins .int
92
92
UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_FIELD_NUMBER : builtins .int
93
+ MODIFY_WORKFLOW_PROPERTIES_FIELD_NUMBER : builtins .int
93
94
@property
94
95
def start_timer (self ) -> global___StartTimer : ...
95
96
@property
@@ -138,6 +139,8 @@ class WorkflowCommand(google.protobuf.message.Message):
138
139
def upsert_workflow_search_attributes (
139
140
self ,
140
141
) -> global___UpsertWorkflowSearchAttributes : ...
142
+ @property
143
+ def modify_workflow_properties (self ) -> global___ModifyWorkflowProperties : ...
141
144
def __init__ (
142
145
self ,
143
146
* ,
@@ -165,6 +168,7 @@ class WorkflowCommand(google.protobuf.message.Message):
165
168
request_cancel_local_activity : global___RequestCancelLocalActivity | None = ...,
166
169
upsert_workflow_search_attributes : global___UpsertWorkflowSearchAttributes
167
170
| None = ...,
171
+ modify_workflow_properties : global___ModifyWorkflowProperties | None = ...,
168
172
) -> None : ...
169
173
def HasField (
170
174
self ,
@@ -183,6 +187,8 @@ class WorkflowCommand(google.protobuf.message.Message):
183
187
b"continue_as_new_workflow_execution" ,
184
188
"fail_workflow_execution" ,
185
189
b"fail_workflow_execution" ,
190
+ "modify_workflow_properties" ,
191
+ b"modify_workflow_properties" ,
186
192
"request_cancel_activity" ,
187
193
b"request_cancel_activity" ,
188
194
"request_cancel_external_workflow_execution" ,
@@ -226,6 +232,8 @@ class WorkflowCommand(google.protobuf.message.Message):
226
232
b"continue_as_new_workflow_execution" ,
227
233
"fail_workflow_execution" ,
228
234
b"fail_workflow_execution" ,
235
+ "modify_workflow_properties" ,
236
+ b"modify_workflow_properties" ,
229
237
"request_cancel_activity" ,
230
238
b"request_cancel_activity" ,
231
239
"request_cancel_external_workflow_execution" ,
@@ -273,6 +281,7 @@ class WorkflowCommand(google.protobuf.message.Message):
273
281
"schedule_local_activity" ,
274
282
"request_cancel_local_activity" ,
275
283
"upsert_workflow_search_attributes" ,
284
+ "modify_workflow_properties" ,
276
285
] | None : ...
277
286
278
287
global___WorkflowCommand = WorkflowCommand
@@ -352,7 +361,6 @@ class ScheduleActivity(google.protobuf.message.Message):
352
361
SEQ_FIELD_NUMBER : builtins .int
353
362
ACTIVITY_ID_FIELD_NUMBER : builtins .int
354
363
ACTIVITY_TYPE_FIELD_NUMBER : builtins .int
355
- NAMESPACE_FIELD_NUMBER : builtins .int
356
364
TASK_QUEUE_FIELD_NUMBER : builtins .int
357
365
HEADERS_FIELD_NUMBER : builtins .int
358
366
ARGUMENTS_FIELD_NUMBER : builtins .int
@@ -367,7 +375,6 @@ class ScheduleActivity(google.protobuf.message.Message):
367
375
"""/ Lang's incremental sequence number, used as the operation identifier"""
368
376
activity_id : builtins .str
369
377
activity_type : builtins .str
370
- namespace : builtins .str
371
378
task_queue : builtins .str
372
379
"""The name of the task queue to place this activity request in"""
373
380
@property
@@ -422,7 +429,6 @@ class ScheduleActivity(google.protobuf.message.Message):
422
429
seq : builtins .int = ...,
423
430
activity_id : builtins .str = ...,
424
431
activity_type : builtins .str = ...,
425
- namespace : builtins .str = ...,
426
432
task_queue : builtins .str = ...,
427
433
headers : collections .abc .Mapping [
428
434
builtins .str , temporalio .api .common .v1 .message_pb2 .Payload
@@ -472,8 +478,6 @@ class ScheduleActivity(google.protobuf.message.Message):
472
478
b"headers" ,
473
479
"heartbeat_timeout" ,
474
480
b"heartbeat_timeout" ,
475
- "namespace" ,
476
- b"namespace" ,
477
481
"retry_policy" ,
478
482
b"retry_policy" ,
479
483
"schedule_to_close_timeout" ,
@@ -1531,3 +1535,27 @@ class UpsertWorkflowSearchAttributes(google.protobuf.message.Message):
1531
1535
) -> None : ...
1532
1536
1533
1537
global___UpsertWorkflowSearchAttributes = UpsertWorkflowSearchAttributes
1538
+
1539
+ class ModifyWorkflowProperties (google .protobuf .message .Message ):
1540
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
1541
+
1542
+ UPSERTED_MEMO_FIELD_NUMBER : builtins .int
1543
+ @property
1544
+ def upserted_memo (self ) -> temporalio .api .common .v1 .message_pb2 .Memo :
1545
+ """If set, update the workflow memo with the provided values. The values will be merged with
1546
+ the existing memo. If the user wants to delete values, a default/empty Payload should be
1547
+ used as the value for the key being deleted.
1548
+ """
1549
+ def __init__ (
1550
+ self ,
1551
+ * ,
1552
+ upserted_memo : temporalio .api .common .v1 .message_pb2 .Memo | None = ...,
1553
+ ) -> None : ...
1554
+ def HasField (
1555
+ self , field_name : typing_extensions .Literal ["upserted_memo" , b"upserted_memo" ]
1556
+ ) -> builtins .bool : ...
1557
+ def ClearField (
1558
+ self , field_name : typing_extensions .Literal ["upserted_memo" , b"upserted_memo" ]
1559
+ ) -> None : ...
1560
+
1561
+ global___ModifyWorkflowProperties = ModifyWorkflowProperties
0 commit comments