From de70673dca1f5f84208dcde152ecdad4d0088d53 Mon Sep 17 00:00:00 2001 From: Steph Torres Date: Mon, 13 Jan 2025 14:06:03 +0000 Subject: [PATCH] [PRMP-1257] fix broken tests --- lambdas/models/nrl_sqs_message.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lambdas/models/nrl_sqs_message.py b/lambdas/models/nrl_sqs_message.py index d51b37dce..e6cbbd315 100644 --- a/lambdas/models/nrl_sqs_message.py +++ b/lambdas/models/nrl_sqs_message.py @@ -12,11 +12,11 @@ class NrlAttachment(BaseModel): ) content_type: str = "application/pdf" language: str = "en-UK" - url: str = None - size: int = None - hash: str = None - title: str = None - creation: str = None + url: Optional[str] = None + size: Optional[int] = None + hash: Optional[str] = None + title: Optional[str] = None + creation: Optional[str] = None class NrlSqsMessage(BaseModel): @@ -31,6 +31,6 @@ class NrlSqsMessage(BaseModel): snomed_code_practice_setting: SnomedCode = ( SnomedCodes.GENERAL_MEDICAL_PRACTICE.value ) - description: str = None + description: Optional[str] = None attachment: Optional[NrlAttachment] = None action: str