apache / apache/dolphinscheduler-sdk-python
[feat] Auto create not exist environment config when submit workflow
- Lenguaje dominante
- Python
- Estrellas
- 71
- Forks
- 26
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
```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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100