From 3778e90ec0e3e0ae151ddc63145b20ef188a9121 Mon Sep 17 00:00:00 2001 From: Alex Hedley Date: Thu, 11 Mar 2021 12:17:43 +0000 Subject: [PATCH] Update python formatting --- doc_source/with-sqs-create-package.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc_source/with-sqs-create-package.md b/doc_source/with-sqs-create-package.md index 6723b172..46650be2 100644 --- a/doc_source/with-sqs-create-package.md +++ b/doc_source/with-sqs-create-package.md @@ -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)\. \ No newline at end of file +Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\.