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 年前