https://dagster.io/ logo
Title
s

Sean Lindo

09/29/2022, 10:36 PM
How would you wire together a series of ops that don’t return anything? They’re essentially a series of SSH calls to run remote commands before finally picking up an asset at the end. Would it still be in the form of op3(op2(op1())) in either the job or graph?
:dagster-bot-responded-by-community: 2
z

Zach

09/29/2022, 10:47 PM
if they need to run sequentially you could use Nothing dependencies and call them in the way you described. if they can run in parallel you can just call them all separately in your graph:
op1()
op2()
op3()
s

Sean Lindo

09/29/2022, 10:48 PM
That’s exactly what I was looking for Zach!
😛artydagster: 1