Skip to content

async pipeline execution #3342

Answered by gibsondan
ahoneycutt asked this question in Q&A
Dec 4, 2020 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @ahoneycutt - we do have functionality that does this but it's a bit buried / not as intuitive as it should be at the moment.

What you want is basically the 'dagster pipeline launch' command - there's a method in dagster.cli.pipeline called 'execute_launch_command' that is pretty much the exact code that that CLI command runs, and I believe is what you want - that currently takes in a kwargs map that's exactly the arguments you would pass into dagster pipeline launch (see the docs here: https://docs.dagster.io/_apidocs/cli or just run "dagster pipeline launch --help" in the command line to see what they are).

For now what I would maybe recommend is just calling that execute_launch_comm…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ahoneycutt
Comment options

@ahoneycutt
Comment options

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
3 participants