Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Trees are made of Serial, Parallel, and Exec nodes, nested arbitrarily.
- import conducto as do
- def simple() -> do.Serial:
- output = do.Serial()
- output["First"] = do.Parallel()
- output["First/RunsInParallel1"] = do.Exec("echo 'I run first'")
- output["First/RunsInParallel2"] = do.Exec("echo 'I also run first'")
- output["Next"] = do.Exec("echo 'I run last.'")
- return output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement