Title
p

piixiiees

09/19/2020, 3:53 PM
Hi everyone! How do you pass parameters from one step to another one?
1
r

Rick Lamers

09/19/2020, 11:08 PM
Hi @piixiiees. Do you mean parameters or data? For data passing you could use:
import orchest

orchest.output([1, 2, "a"])
In the next step you could access the inputs using
import orchest

[input1] = orchest.get_inputs()

print(input1) #-> [1, 2, "a"]
🙌 1
More details can be found here in the docs: https://orchest.readthedocs.io/en/latest/sdk/python.html#data-passing
🙌 1
p

piixiiees

09/27/2020, 6:59 PM
Thanks for your answer, it actually helps me, while I was referring to the UI field "Parameters"
r

Rick Lamers

09/27/2020, 7:00 PM
Happy to help. Just let us know if you have any more questions. We're readying a new release that will bring a number of useful features and a ton of small quality of life improvements.