Skip to content

Commit bb58344

Browse files
committed
Cleanup: sort lines
1 parent b6c0f86 commit bb58344

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

scripts/gen_payload_visitor.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -274,27 +274,27 @@ def walk(self, desc: Descriptor) -> bool:
274274
)
275275

276276
commands_with_seq = {
277-
"start_timer",
277+
"cancel_signal_workflow",
278278
"cancel_timer",
279-
"schedule_activity",
280-
"schedule_local_activity",
281279
"request_cancel_activity",
282-
"request_cancel_local_activity",
283-
"start_child_workflow_execution",
284280
"request_cancel_external_workflow_execution",
285-
"signal_external_workflow_execution",
286-
"cancel_signal_workflow",
287-
"schedule_nexus_operation",
281+
"request_cancel_local_activity",
288282
"request_cancel_nexus_operation",
283+
"schedule_activity",
284+
"schedule_local_activity",
285+
"schedule_nexus_operation",
286+
"signal_external_workflow_execution",
287+
"start_child_workflow_execution",
288+
"start_timer",
289289
}
290290
activation_jobs_with_seq = {
291291
"resolve_activity",
292-
"resolve_child_workflow_execution",
293292
"resolve_child_workflow_execution_start",
293+
"resolve_child_workflow_execution",
294+
"resolve_nexus_operation_start",
295+
"resolve_nexus_operation",
294296
"resolve_request_cancel_external_workflow",
295297
"resolve_signal_external_workflow",
296-
"resolve_nexus_operation",
297-
"resolve_nexus_operation_start",
298298
}
299299
# Process oneof fields as if/elif chains
300300
for oneof_idx, fields in oneof_fields.items():

0 commit comments

Comments
 (0)