Quantcast
Channel: Active questions tagged aws-lambda - Stack Overflow
Viewing all articles
Browse latest Browse all 4006

Find out python modules with versions that are included in given aws python lambda runtime

$
0
0

When trying to run my code, which contained urllib3HTTPResponse.json() method, in AWS Lambda, Python 3.12 runtime, I got an error HTTPResponse object has no attribute json.It was running fine locally.After I changed response.json() to json.loads(response.data) it started working.

I wanted to avoid bundling, so I wanted to use library that is contained in AWS Lambda runtimes. Apparently the urllib3 version included in Python 3.12 runtime is some older one.

Is there a way to tell which modules in which versions are contained in given python lambda runtime?

I've found a list and a tool here, which probably can give me an answer after some work, but I wonder if there's any 'ready-made' resource?


Viewing all articles
Browse latest Browse all 4006

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>