apache / apache/dolphinscheduler-sdk-python

[feat] Overwrite workflow parameter during workflow trigger in CLI

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.