Code Monkey home page Code Monkey logo

Comments (10)

leandrodamascena avatar leandrodamascena commented on September 14, 2024 2

Hey @karvetskiy! alpha release is available. Can you test pls?

https://pypi.org/project/aws-lambda-powertools/2.40.1a1/

from powertools-lambda-python.

leandrodamascena avatar leandrodamascena commented on September 14, 2024 1

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.

heitorlessa avatar heitorlessa commented on September 14, 2024 1

he hasn't published yet, will ping you shortly @karvetskiy

from powertools-lambda-python.

boring-cyborg avatar boring-cyborg commented on September 14, 2024

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.

leandrodamascena avatar leandrodamascena commented on September 14, 2024

Checking now.

from powertools-lambda-python.

leandrodamascena avatar leandrodamascena commented on September 14, 2024

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.

karvetskiy avatar karvetskiy commented on September 14, 2024

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.

heitorlessa avatar heitorlessa commented on September 14, 2024

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.

heitorlessa avatar heitorlessa commented on September 14, 2024

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.

github-actions avatar github-actions commented on September 14, 2024

This is now released under 2.40.1 version!

from powertools-lambda-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.