Skip to content

Commit

Permalink
Merge pull request #254 from AlexHedley/patch-1
Browse files Browse the repository at this point in the history
Update python formatting
  • Loading branch information
devlinbd2 authored Mar 19, 2021
2 parents 3de4c51 + 3778e90 commit f7e2111
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doc_source/with-sqs-create-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,12 @@ Follow the instructions to create a AWS Lambda function deployment package\.
```
from __future__ import print_function
def lambda_handler(event, context):
for record in event['Records']:
print ("test")
payload=record["body"]
print(str(payload))
print("test")
payload = record["body"]
print(str(payload))
```

Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\.
Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\.

0 comments on commit f7e2111

Please sign in to comment.