From 64a554524e3cf5e5b1e9a1e8b354e8afd838edf3 Mon Sep 17 00:00:00 2001 From: Brenda Chin Date: Mon, 5 Aug 2024 14:37:45 -0400 Subject: [PATCH 1/2] Add support for python3.12 --- lambda_function/placeholders/python3.12/index.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lambda_function/placeholders/python3.12/index.py diff --git a/lambda_function/placeholders/python3.12/index.py b/lambda_function/placeholders/python3.12/index.py new file mode 100644 index 0000000..98b644f --- /dev/null +++ b/lambda_function/placeholders/python3.12/index.py @@ -0,0 +1,9 @@ +import json + + +def lambda_handler(event, context): + print(json.dumps(event)) + return { + 'statusCode': 200, + 'body': event + } From cb26110abb21639945718c12cfd13a2aebee9c8b Mon Sep 17 00:00:00 2001 From: Brenda Chin Date: Mon, 5 Aug 2024 14:45:17 -0400 Subject: [PATCH 2/2] Add support for python3.12 --- lambda_layer/placeholders/python3.12/index.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lambda_layer/placeholders/python3.12/index.py diff --git a/lambda_layer/placeholders/python3.12/index.py b/lambda_layer/placeholders/python3.12/index.py new file mode 100644 index 0000000..98b644f --- /dev/null +++ b/lambda_layer/placeholders/python3.12/index.py @@ -0,0 +1,9 @@ +import json + + +def lambda_handler(event, context): + print(json.dumps(event)) + return { + 'statusCode': 200, + 'body': event + }