aws / aws/aws-step-functions-data-science-sdk-python
Workflow Tags are not updated
- Ngôn ngữ chính
- Python
- Star
- 299
- Fork
- 84
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với constructor của Workflow trong Python SDK và luồng update(), sử dụng reproduction được cung cấp để so sánh create() với việc cập nhật một state machine hiện có. Theo dõi cách danh sách tags được xử lý trong quá trình cập nhật, sau đó xác minh việc hoàn tất trong AWS UI bằng cách xác nhận rằng hai tags xuất hiện trên workflow.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, python
- Lĩnh vực
- cloud
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 28/100