You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mypy fails with @tracer.capture_lambda_handler #360
This seems to have changed the expected handler signature to have three parameters instead of two, which is causing the sample code to fail. I've worked around this for now by adding a _ignored: Optional[Any] = None parameter to my lambda handler.
Activity
heitorlessa commentedon Mar 25, 2021
Thanks a lot for raising it @joyofhex, and it's quite timely because we're working to make MyPy compliant for the next release ;-)
Let us know if you find anything else and we keep you posted!
michaelbrewer commentedon Mar 25, 2021
@joyofhex @heitorlessa i have a fix in for this on #365
So this example will work via MyPy
joyofhex commentedon Mar 26, 2021
Oh, excellent. Thanks for taking the time to address this.
heitorlessa commentedon Mar 29, 2021
Reopening as we will include this in the next minor release, then we can ping you once it's available :)
michaelbrewer commentedon Mar 29, 2021
@heitorlessa I think we need to something else to mark the modules as PEP 561