apache / apache/dolphinscheduler-sdk-python
[feat] Auto create not exist environment config when submit workflow
Open
- 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
Research direction
The issue names the Environment and Python workflow objects but no file or test. Trace workflow submission from the Environment/Python construction shown, then verify the existing-environment update and missing-environment creation paths; done means both cases submit successfully with the requested configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100