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: Set to Py27Dict if components is explicitly set to None #3373

Merged
merged 3 commits into from Oct 11, 2023

Conversation

GavinZZ
Copy link
Contributor

@GavinZZ GavinZZ commented Oct 10, 2023

Issue #, if available

Description of changes

We had an issue where users explicitly set components to None and the setdefault code wouldn't set it to Py27Dict which then caused an error.

Description of how you validated changes

All existing tests pass.

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@GavinZZ GavinZZ marked this pull request as ready for review October 10, 2023 17:41
@GavinZZ GavinZZ requested a review from a team as a code owner October 10, 2023 17:41
@aaythapa aaythapa enabled auto-merge (squash) October 11, 2023 22:02
@aaythapa aaythapa merged commit b5a0b8e into aws:develop Oct 11, 2023
8 checks passed
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.

None yet

4 participants