apache / apache/dolphinscheduler-sdk-python
[feat] Auto create not exist environment config when submit workflow
- Langage dominant
- Python
- Étoiles
- 71
- Forks
- 26
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- api
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100