Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Python): Support shapes with ReferenceTrait as union values #616

Merged
merged 20 commits into from
Oct 2, 2024

Conversation

lucasmcdonald3
Copy link
Contributor

@lucasmcdonald3 lucasmcdonald3 commented Oct 1, 2024

Description of changes:

Support shapes with ReferenceTraits as union values.

Before, invalid code was generated, since Smithy-Python doesn't understand how to handle Smithy-Dafny's ReferenceTrait.
This changes fixes that. See https://github.com/aws/aws-cryptographic-material-providers-library/pull/797/files#diff-cd2bfcce4302f7106686a063607ddb7ed42dfd45c2c253d75c70d00a715dc359R2212-R2248

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lucasmcdonald3 lucasmcdonald3 marked this pull request as ready for review October 2, 2024 16:07
@lucasmcdonald3 lucasmcdonald3 requested a review from a team as a code owner October 2, 2024 16:07
Copy link
Contributor

@ajewellamz ajewellamz left a comment

Choose a reason for hiding this comment

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

LGTM

@lucasmcdonald3 lucasmcdonald3 merged commit 82c765a into main-1.x Oct 2, 2024
80 checks passed
@lucasmcdonald3 lucasmcdonald3 deleted the union-references branch October 2, 2024 18:24
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.

2 participants