Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc_source/python-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Create the \.zip file for your deployment package\.
1. Copy the contents of the following sample Python code and save it in a new file named `lambda_function.py`:

```
import requests
import requests # I recommend using a different package because requests is now included in base python3.7+
def lambda_handler(event, context):
response = requests.get("https://www.test.com/")
print(response.text)
Expand Down Expand Up @@ -215,4 +215,4 @@ The following example uploads a file named my\-deployment\-package\.zip\. Use th
"RevisionId": "5afdc7dc-2fcb-4ca8-8f24-947939ca707f",
...
}
```
```