Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from flytekit import task, workflow
from flytekit import LaunchPlan, task, workflow


@task
Expand Down Expand Up @@ -47,3 +47,14 @@ def chain_workflows_wf():
sub_wf0 = sub_workflow_0()

sub_wf0 >> sub_wf1


# Chaining launchplans


@workflow
def chain_launchplans_wf():
lp1 = LaunchPlan.get_or_create(sub_workflow_1, "lp1")()
lp0 = LaunchPlan.get_or_create(sub_workflow_0, "lp0")()

lp0 >> lp1
Loading