Skip to content

Commit

Permalink
Update python formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHedley authored Mar 11, 2021
1 parent 3de4c51 commit 3778e90
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 3778e90

Please sign in to comment.