aws / aws/aws-step-functions-data-science-sdk-python

Workflow Tags are not updated

Abierto
#190 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
299
Forks
84
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I have created two workflows with the SDK.
Later I wanted to update the workflows using the SDK and adding tags.
I provided a list of tags in the constructor, but when viewing the workflow in the AWS UI I do not see any tags on my workflows.

### Reproduction Steps

```python
import stepfunctions
from stepfunctions.workflow import Workflow
from stepfunctions.steps import *

workflow_execution_role = ""
hello_workflow_name='hello_workflow'
hello_step = Pass(state_id="HelloWorld")

# creating a demo workflow
hello_workflow = Workflow(
name=hello_workflow_name,
definition=hello_step,
role=workflow_execution_role
)
hello_workflow_arn = hello_workflow.create()

# now trying to update the existing workflow with tags
hello_workflow_update = Workflow(
name=hello_workflow_name,
definition=hello_step,
role=workflow_execution_role,
state_machine_arn = hello_workflow_arn,
tags=[
{"key": "Environment", "value": 'example'},
{"key": "Owner", "value": 'Lasdem'},
]
)
hello_workflow_update.update(hello_step)
```

### What did you expect to happen?

I tried to add tags to an existing workflow

### What actually happened?

No Tags appeared after the update of the workflow.

### Environment

- **AWS Step Functions Data Science Python SDK version :** 2.3.0
- **Python Version:** Python 3.8.13

### Other

---

This is :bug: Bug Report

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el constructor de Workflow del Python SDK y la ruta de update(), utilizando la reproducción proporcionada para comparar create() con la actualización de una máquina de estados existente. Rastrea cómo se gestiona la lista de tags durante la actualización y verifica la finalización en la AWS UI confirmando que los dos tags aparecen en el workflow.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, python
Área
cloud
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
28/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.