Skip to content

Conversation

markpeek
Copy link
Member

Prior to this change Tags (which is a subclass of AWSHelperFn) would not do validation of the expected type and it prevented validation of Json style Tags needing a dict.

Fixes #2268

Prior to this change Tags (which is a subclass of AWSHelperFn)
would not do validation of the expected type and it prevented
validation of Json style Tags needing a dict.
Copy link

@gautaz gautaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested the branch with a JobDefinition (my original test case) with both dict and Tags, everything seems fine and working.
The test passes with dict and fails on Tags with error JobDefinition.Tags is <class 'troposphere.Tags'>, expected <class 'dict'> which is exactly what I expected.
Thank you!

@markpeek markpeek merged commit 625bd24 into main Sep 29, 2024
6 checks passed
@markpeek markpeek deleted the markpeek-issue2268 branch September 29, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tags types seems a bit confusing for newcomers

2 participants