Comments (10)
Hey @karvetskiy! alpha release is available. Can you test pls?
https://pypi.org/project/aws-lambda-powertools/2.40.1a1/
from powertools-lambda-python.
Hi @karvetskiy, thanks for opening this issue and reporting this bug. Our tests didn't catch accessing current_event
using the Router
object directly and because of this we have this breaking change in this release, sorry about that. I'm working to fix and will release a new version in a few minutes.
Thanks
from powertools-lambda-python.
he hasn't published yet, will ping you shortly @karvetskiy
from powertools-lambda-python.
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 Powertools for AWS Lambda Discord: Invite link
from powertools-lambda-python.
Checking now.
from powertools-lambda-python.
Hey @karvetskiy! If I publish a pre-release on Pypi, can you test if the issue is resolved in your environment before we release a new patch release? Thanks
from powertools-lambda-python.
Hey @leandrodamascena! Just checked alpha version, still can't access current_event
.
Looks like new Router
class in event_handler.graphql_appsync.router
inhered from wrong implementation of BaseRouter
class.
It has different implementation in v2.39.1 (see code)
from powertools-lambda-python.
PR incoming, we've been wrestling with static typing and additional tests to be quadruple sure this would work on areas we were missing tests too.
Once we merge and publish the alpha release we ping you
from powertools-lambda-python.
kicked off pre-release (should be in PyPi in ~6 minutes or so).. https://github.com/aws-powertools/powertools-lambda-python/actions/runs/9712027684
from powertools-lambda-python.
This is now released under 2.40.1 version!
from powertools-lambda-python.
Related Issues (20)
- Tech debt: add `from __future__ import annotations` in the Feature Flags feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Parameters feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Parser envelopes feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Event Handler Middlewares feature HOT 2
- Tech debt: add `from __future__ import annotations` in the typing feature HOT 2
- Tech debt: add `from __future__ import annotations` in the validation feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Streaming feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Event Handler OpenAPI feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Batch Processing feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Event Handler feature HOT 2
- Tech debt: add `from __future__ import annotations` in the Parser models feature HOT 2
- Technical Debt: Enable TCH, UP and FA100 rules in the Ruff linter HOT 6
- Docs: Publish Upgrade Guide for V3 HOT 2
- [Support Powertools for AWS Lambda (Python)]: Pushpay HOT 1
- Bug: Revert changes that impacts v3 HOT 6
- Bug: get_field_info_and_type_annotation doesn't respect tuple return types HOT 8
- Docs: Minor typo for log_level example HOT 5
- Bug: APIGatewayRestResolver with enable_validation=True and custom Response class type hint fails HOT 4
- Feature request: [Bedrock Agent Event Handler] Add (prompt) session attributes and knowledgeBasesConfiguration to the response HOT 2
- Maintenance: update docs to use self-hosted mermaid.js script HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powertools-lambda-python.