From 4fe50e88369437b16fb8ede3c53ae1c67cf55842 Mon Sep 17 00:00:00 2001 From: Tom McCarthy Date: Thu, 19 Nov 2020 14:55:59 +0100 Subject: [PATCH] docs: correct example usage of SES data class --- docs/content/utilities/data_classes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/utilities/data_classes.mdx b/docs/content/utilities/data_classes.mdx index ec6d2eb5e11..fd449b4edf5 100644 --- a/docs/content/utilities/data_classes.mdx +++ b/docs/content/utilities/data_classes.mdx @@ -207,7 +207,7 @@ def lambda_handler(event, context): # Multiple records can be delivered in a single event for record in event.records: mail = record.ses.mail - common_headers = list(mail.common_headers) + common_headers = mail.common_headers do_something_with(common_headers.to, common_headers.subject)