apache / apache/dolphinscheduler-sdk-python

[feat] Auto create not exist environment config when submit workflow

Open
#57 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71
Forks
26
PR merge metrics
No merged PRs in 30d

Description

```python
environment = Environment(name="python-numpy", config="export PYTHON_HOME=/xxx/xxx/python3")
task = Python(name="123", definition="import numpy as np", environment_name=environment)
```
if `python-numpy` exist, update the environment, if not create a new environment.

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.