From eec25fcf093f53e22f91d6b871f6a7c98e40fb2b Mon Sep 17 00:00:00 2001 From: Steve Astels Date: Thu, 16 May 2024 10:27:25 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Jimmy Royer --- app/delivery/send_to_providers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/delivery/send_to_providers.py b/app/delivery/send_to_providers.py index 4499fb8a86..d6c5297391 100644 --- a/app/delivery/send_to_providers.py +++ b/app/delivery/send_to_providers.py @@ -342,9 +342,9 @@ def update_notification_to_sending(notification, provider): def provider_to_use( notification_type: str, notification_id: UUID, - to: Union[str, None] = None, + to: Optional[str] = None, international: bool = False, - sender: Union[str, None] = None, + sender: Optional[str] = None, ) -> Any: """ Get the provider to use for sending the notification.