Skip to content

Commit

Permalink
mypy: Added typing to the untyped dict
Browse files Browse the repository at this point in the history
  • Loading branch information
jimleroyer committed Oct 25, 2023
1 parent 990f339 commit 89731a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/notifications/process_notifications.py
Original file line number Diff line number Diff line change
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 = {}
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 89731a3

Please sign in to comment.