Help exploring conditional execution in Dagster Graphs #20322
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Conditional branching is covered here: https://docs.dagster.io/concepts/ops-jobs-graphs/graphs#with-conditional-branching You can use a "fan-in" dependency to prevent a final op from skipping when one of its input branches skips: https://docs.dagster.io/concepts/ops-jobs-graphs/graphs#with-a-fixed-fan-in |
Beta Was this translation helpful? Give feedback.
-
@alangenfeld is the documentation incorrect? Docs for fan-in say: "The downstream op executes only if all of the outputs were successfully created by the upstream op:" |
Beta Was this translation helpful? Give feedback.
Conditional branching is covered here:
https://docs.dagster.io/concepts/ops-jobs-graphs/graphs#with-conditional-branching
You can use a "fan-in" dependency to prevent a final op from skipping when one of its input branches skips:
https://docs.dagster.io/concepts/ops-jobs-graphs/graphs#with-a-fixed-fan-in