How should one get an op's output and concatenate it with another op's output? #6585
-
I'm using How should I take an Example code:
When I execute this with
I can see that In case this is desired, how should I concatenate these two lists? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The https://docs.dagster.io/concepts/ops-jobs-graphs/jobs-graphs#fixed-fan-in may be relevant if your end goal is beyond just concatenating the outputs. |
Beta Was this translation helpful? Give feedback.
The
@job
decorated function runs only at initialization time to build the dependency structure. If you want to do any computation on data, it has to happen in an@op
.https://docs.dagster.io/concepts/ops-jobs-graphs/jobs-graphs#fixed-fan-in may be relevant if your end goal is beyond just concatenating the outputs.