Skip to content

Commit

Permalink
update get_serializable_workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Vrinda Vasavada <[email protected]>
  • Loading branch information
vvasavada-fn committed May 19, 2022
1 parent e057f2a commit 10576a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/tools/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def get_serializable_workflow(
nodes=upstream_node_models,
outputs=entity.output_bindings,
)
return admin_workflow_models.WorkflowSpec(template=wf_t, sub_workflows=list(set(sub_wfs)))
return admin_workflow_models.WorkflowSpec(template=wf_t, sub_workflows=sorted(set(sub_wfs), key=lambda x: x.short_string()))


def get_serializable_launch_plan(
Expand Down

0 comments on commit 10576a2

Please sign in to comment.