You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
importstepfunctionsfromstepfunctions.workflowimportWorkflowfromstepfunctions.stepsimport*workflow_execution_role="<ENTER A VALID EXECUTION ROLE>"hello_workflow_name='hello_workflow'hello_step=Pass(state_id="HelloWorld")
# creating a demo workflowhello_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 tagshello_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 Report
The text was updated successfully, but these errors were encountered:
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
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
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: