dolphinscheduler-sdk-python
dolphinscheduler-sdk-python copied to clipboard
[feat] Overwrite workflow parameter during workflow trigger in CLI
Sometime user may want to overwrite workflow parameter during trigger workflow with CLI,
such as:
with ProcessDefinition(
name="tutorial",
schedule="0 0 0 * * ? *",
start_time="2021-01-01",
tenant="tenant_exists",
) as pd:
and in bash
python tutorial.py --tenant=new-tenant
to replace the value from tenant="tenant_exists" to tenant="new-tenant" in file tutorial.py