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: Decouple samtranslator.models and *.intrinsics and add import tests #2977

Merged
merged 10 commits into from
Feb 28, 2023

Conversation

aahung
Copy link
Contributor

@aahung aahung commented Feb 28, 2023

Issue #, if available

Description of changes

#2975

samtranslator.models.__init__ should not import samtranslator.intrinsics.* which in turn import samtranslator.models.__init__

Description of how you validated changes

Added a new import test, without the fix, it will fail:

image

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.

@aahung aahung requested a review from hoffa February 28, 2023 19:23
@aahung aahung requested a review from a team as a code owner February 28, 2023 19:23
@aahung aahung enabled auto-merge (squash) February 28, 2023 19:23
@aahung aahung merged commit 2ba5048 into aws:develop Feb 28, 2023
@aahung aahung deleted the decouple-packages branch February 28, 2023 20:02
GavinZZ pushed a commit to GavinZZ/serverless-application-model that referenced this pull request Mar 2, 2023
GavinZZ pushed a commit to GavinZZ/serverless-application-model that referenced this pull request Mar 2, 2023
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