Skip to content

Conversation

Manveen777
Copy link

@Manveen777 Manveen777 commented Oct 22, 2025

Added a comment to clarify the purpose of the method.

Issue #, if available

Description of changes

Description of how you validated changes

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.

Added a comment to clarify the purpose of the method.
@Manveen777 Manveen777 requested a review from a team as a code owner October 22, 2025 17:38
@Manveen777
Copy link
Author

Added a descriptive comment inside the is_enabled method to clarify its purpose.
No functionality has been changed.

Copy link
Contributor

@reedham-aws reedham-aws left a comment

Choose a reason for hiding this comment

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

Hello @Manveen777, thank you for the contribution! Could we move the comment to be in the existing docstring? It already mentions that the function checks if the feature is enabled, but it could also include stage region and account like in your comment.

@reedham-aws reedham-aws changed the title Clarify is_enabled method with additional comment chore: Clarify is_enabled method with additional comment Oct 22, 2025
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