-
Notifications
You must be signed in to change notification settings - Fork 429
Docs: Testing your code - API Gateway HTTP API #1686
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
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
🤦♂️ we forgot to update this section as we’ve moved to V2 - apologies for
the inconveniences.
Would you like to open a quick PR to fix it? I can merge and make any
amendments tomorrow.
Obrigado ;-)
…On Mon, 7 Nov 2022 at 18:55, boring-cyborg[bot] ***@***.***> wrote:
Thanks for opening your first issue here! We'll come back to you as soon
as we can.
In the meantime, check out the #python channel on our AWS Lambda
Powertools Discord: Invite link <https://discord.gg/B8zZKbbyET>
—
Reply to this email directly, view it on GitHub
<#1686 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZPQBGIWHMPIIBAJKFLHPTWHE7A7ANCNFSM6AAAAAARZOLTIA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
There’s no need to apologize! Tá tudo certo! I will make the PR to fix it! Thanks!!! |
thank you! I also read it too quickly on my phone yesterday - that section of docs is taking into account REST API flavour only hence the issue -- I misread and somehow linked to our headers breaking change in V2. I'll adjust your PR so it includes both REST, HTTP, and ALB accordingly to prevent confusion. |
Ohhh... i get it! I remembered another issue i get to make the PR: the Abraço! |
I think we fixed that in the last release, but let me know otherwise. Poetry latest version made a breaking change - TIL about their versioning model. We need to migrate all As regards to your doc PR, I've just pushed changes and commented asking to double check. It'll look like this now. |
don't say that twice ;) We're always looking for help, got some challenges stuff in the backlog |
Just rebuilt the latest docs - https://awslabs.github.io/aws-lambda-powertools-python/2.2.0/core/event_handler/api_gateway/#testing-your-code Available now and thank you again for the contribution <3 |
|
What were you searching in the docs?
I was looking for an example to test my new lambda function that I used API Gateway HTTP API and the exampled provided was not working.
The example in docs is this:
And this was the result:
Is this related to an existing documentation section?
https://awslabs.github.io/aws-lambda-powertools-python/2.1.0/core/event_handler/api_gateway/#testing-your-code
How can we improve?
Got a suggestion in mind?
What I do to resolve the problem is to change the
minimal_event
dict to this:And the result now was this:
Acknowledgment
The text was updated successfully, but these errors were encountered: