1 回答
- 最新
- 投票最多
- 评论最多
0
You can create a Lambda Layer for the requests library:
https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
or you can include your dependencies within your Lambda artifact upon upload, which would look something like:
In the second route, you would just include the version of requests in the requirement file before you run pip.
已回答 4 年前