Skip to content

How do I launch a pipeline from inside another pipeline? #3436

Answered by sryza
sryza asked this question in Q&A
Discussion options

You must be logged in to vote

⚠️ Note that this approach uses internal Dagster APIs and may break in a future release. ⚠️

We're planning to make this simpler and providing better compatibility guarantees.

from dagster_graphql.client.query import LAUNCH_PIPELINE_EXECUTION_MUTATION
from dagster_graphql.implementation.context import DagsterGraphQLContext
from dagster_graphql.test.utils import execute_dagster_graphql

from dagster import repository, solid
from dagster.cli.workspace.workspace import Workspace
from dagster.core.host_representation import RepositoryLocationHandle
from dagster.core.host_representation.selector import PipelineSelector


@repository
def my_repo():
    return [...]


@solid
def launch_downstream…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sryza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant