Skip to content

How to do a bucle in a Dagster pipeline? #3209

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

You must be logged in to vote

Hey @ericbellet. The capability you're describing is something that we're working on, but haven't completed implementing. The way Dagster currently works, the set of solids is fixed inside a pipeline definition. I.e., after the pipeline definition has been created, there's no way for a solid to say "launch a downstream solid for every output that I return".

If you're willing to condense those parallel task into a single task, you could do something like what was suggested here: #3211.

If you're able to accept those time parameters outside of Dagster config, you could do something like this:

from dagster import (
    DagsterType,
    InputDefinition,
    OutputDefinition,
    String,
    e…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sryza
Comment options

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