apache / apache/dolphinscheduler-sdk-python
[feat] Overwrite workflow parameter during workflow trigger in CLI
Open
enhancement
help wanted
- Dominant language
- Python
- Stars
- 71
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Sometime user may want to overwrite workflow parameter during trigger workflow with CLI,
such as:
```py
with ProcessDefinition(
name="tutorial",
schedule="0 0 0 * * ? *",
start_time="2021-01-01",
tenant="tenant_exists",
) as pd:
```
and in bash
```bash
python tutorial.py --tenant=new-tenant
```
to replace the value from `tenant="tenant_exists"` to `tenant="new-tenant"` in file `tutorial.py`
Contributor guide
Assessment
This issue has not been assessed yet.