How to set Startup Parameter?
When run a workflow by webUI, user can set Startup Parameter, but how to set Startup Parameter by python sdk?
I try to use param but it does't work
with Workflow(name="api_python_test5", param={"data": "hello"}) as workflow:
workflow.start()
Hi @kevinkelin
I think locally and it works for me. could you share which version of dolphinscheduler and pydolphinscheduler do you use?
Hi @kevinkelin
I think locally and it works for me. could you share which version of dolphinscheduler and pydolphinscheduler do you use?
![]()
Thanks, but I mean when user already set Start Parms by webUI, for example set KEY1 value1, then user use sdk to start a worlflow, then user want to make KEY1 to value2.
with Workflow(name="api_python_test5", param={"KEY1": "value2"}) as workflow:
workflow.start()
only call workflow.start() , doesn't call workflow.commit(), the value of KEY1 is still value1 in flow instance.
Is this the feature of sdk? or I must call commit method?
hi @kevinkelin I have test base on your case, but I can update the workflow parameter already fine in web ui. BTW, when you can method workflow.start() it will call workflow.submit() implicitly
please make sure your parameter set in web UI and SDK with same name. You need to carefully compare whether there are spaces in parameter
could you share what version do you use for dolphinschduler and sdk?
