apache / apache/dolphinscheduler-sdk-python

[feat] Overwrite workflow parameter during workflow trigger in CLI

未关闭
#20 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement help wanted
主要语言
Python
星标
71
派生
26
PR 合并指标
30 天内没有已合并 PR

描述

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`

贡献指南

打开贡献指南

调研方向

首先追踪与 tutorial.py 和 ProcessDefinition tenant 参数一起使用的 CLI 触发路径。确认命令行值如何被解析并传递给工作流触发;当 `python tutorial.py --tenant=new-tenant` 在不更改 tutorial.py 的情况下覆盖定义的 tenant 值时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。