Skip to content

Commit

Permalink
mypy again
Browse files Browse the repository at this point in the history
  • Loading branch information
jimleroyer committed Oct 25, 2023
1 parent 89731a3 commit 00457b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/notifications/process_notifications.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 00457b7

Please sign in to comment.