Skip to content

Fix incorrect quotation marks in Lambda function (aws-api-gateway) #180

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abdulfahad661
Copy link

Summary:

This PR corrects inconsistent quotation marks in the example Lambda function provided in the aws-api-gateway demo.

Changes:

  • Standardized all dictionary keys and values to use double quotes (")
  • Ensured consistency across the function

Why this fix?

  • The previous code contained a mix of ', , and ", which could cause syntax errors in Python.
  • This update ensures proper formatting and avoids issues when users copy-paste the example.

Would appreciate your review and feedback! 🚀

Updated the Python Lambda function example in the aws-api-gateway demo to correct inconsistent quotation marks. The previous version used a mix of single quotes ('), curly quotes (‘’), and double quotes ("), which could cause syntax errors in Python.

Changes:
- Standardized all dictionary keys and values to use double quotes (")
- Ensured consistency across the function

This fixes potential syntax issues and aligns the example with proper Python formatting.
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.

1 participant