When you specify Parameter values, you set the default values that can be optionally overridden at runtime. For example:
Copy code
with Flow("Example: Parameters") as flow:
x = Parameter("x", default=1)
y = Parameter("y", default=2)
here, you use the default value of 1 and 2, and those are the default values that are used during the registration, so there is no need to specify it once again to the
flow.register()
.
But then, for each flow run, you can override those at runtime either, as you did it in the
flow.run()
, or in the UI in the Run section. Does it make sense?
Anna Geller
11/03/2021, 9:27 PM
here is the UI option to override default parameter values for the flow run:
k
Khuyen Tran
11/03/2021, 9:36 PM
yeah that makes sense. Thank you for the clarification!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.