diff --git a/app/notifications/process_notifications.py b/app/notifications/process_notifications.py index f1ce7573a2..39f0c7af86 100644 --- a/app/notifications/process_notifications.py +++ b/app/notifications/process_notifications.py @@ -1,6 +1,6 @@ import uuid from datetime import datetime -from typing import List +from typing import Any, List from flask import current_app from notifications_utils.clients import redis @@ -227,7 +227,7 @@ def build_task_params(notification: Notification): If the notification is a high priority SMS, set the retry policy to retry every 25 seconds else fall back to the default retry policy of retrying every 5 minutes. """ - params: dict[str, any] = {} + params: dict[str, Any] = {} params["retry"] = True # Overring the retry policy is only supported for SMS for now; # email support coming later.