apache / apache/dolphinscheduler-sdk-python

[feat] Overwrite workflow parameter during workflow trigger in CLI

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
Python
Stelle
71
Fork
26
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.