dolphinscheduler-sdk-python icon indicating copy to clipboard operation
dolphinscheduler-sdk-python copied to clipboard

[feat] Overwrite workflow parameter during workflow trigger in CLI

Open zhongjiajie opened this issue 3 years ago • 0 comments

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

zhongjiajie avatar Nov 15 '22 09:11 zhongjiajie