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.