From f810b04e4511c71a7df7b0a1d804725957fb41c9 Mon Sep 17 00:00:00 2001 From: Giovanni Grano Date: Wed, 27 Nov 2024 20:20:15 -0500 Subject: [PATCH 1/2] html_part being null --- localstack-core/localstack/openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localstack-core/localstack/openapi.yaml b/localstack-core/localstack/openapi.yaml index f1932daf0a179..1a78bfe3d0e28 100644 --- a/localstack-core/localstack/openapi.yaml +++ b/localstack-core/localstack/openapi.yaml @@ -158,7 +158,7 @@ components: additionalProperties: false properties: html_part: - type: string + type: [string, 'null'] text_part: type: string required: From 215f5d2ad8fe845f0b228f0318a4c562b738c92a Mon Sep 17 00:00:00 2001 From: Giovanni Grano Date: Thu, 28 Nov 2024 17:09:31 -0500 Subject: [PATCH 2/2] update class definition accordingly --- localstack-core/localstack/services/ses/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localstack-core/localstack/services/ses/models.py b/localstack-core/localstack/services/ses/models.py index 778f75dcc484a..2560f872410da 100644 --- a/localstack-core/localstack/services/ses/models.py +++ b/localstack-core/localstack/services/ses/models.py @@ -4,7 +4,7 @@ class SentEmailBody(TypedDict): - html_part: str + html_part: str | None text_part: str