Riccardo Magliocchetti
Riccardo Magliocchetti
Thanks for reporting, `[ERROR] AttributeError: 'dict' object has no attribute 'aws_request_id'` kinda suggest that `self.context["aws_request_id"]` would have worked? Or maybe that's just the internals of the `LambdaContext` class
> [@xrmx](https://github.com/xrmx) Yea I think we could just add an type (`isinstance`) check and then access accordingly? Don't know yet, need to reproduce and sort out why LambdaContext is not...
@brett-fitz what kind of authorizer do you have? Can't reproduce with a lambda request authorizer, context is the following: ``` ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__',...
@brett-fitz In the original description you mentioned using `capture_serverless` decorator but I don't see it here, where do you have it? Have you tried removing one powertools decorator at time...
@brett-fitz From my testing there is nothing special about the lambda being used as an authorizer, so my guess is there should be something else poking with the context parameter....
@brett-fitz np, thanks for checking!
This may be interesting: https://github.com/googleapis/python-api-common-protos/compare/v1.63.1...v1.63.2
Looks like this has been already fixed.
Strange, yarl 1.13.0 is able to parse urls just fine here: ``` $ python3 Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or...
@thetintin1000 does it work if you bump aiohttp to 3.10.7?