Hey there, I was thinking of using Dagster to rout...
# ask-community
a
Hey there, I was thinking of using Dagster to route messages throughout my platform and I was wondering if there was a way to "join" lists of outputs created by two separate tasks? So if I have task 1 that outputs a list of elements and task 2 that outputs a list of other elements, assuming they have the same length what is the best way to join them together for my third task?
o
something like this? https://docs.dagster.io/concepts/ops-jobs-graphs/graphs
Copy code
@op
def a():
    return [a,b,c]
@op
def b():
    return [1,2,3]
@op
def c(a,b):
   return [x,y for x,y in zip(a,b)]
@graph
def g():
    return c(a(),b())