From 091debb14fbcd646eb6569066309723a91d239bb Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Wed, 29 Jun 2022 10:56:05 +0530 Subject: [PATCH] chore: Stringify incompatible typing hints --- frappe/email/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/email/queue.py b/frappe/email/queue.py index 45abe0374a..2c3e0ee011 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -69,7 +69,7 @@ def get_emails_sent_today(email_account=None): def get_unsubscribe_message( unsubscribe_message: str, expose_recipients: str -) -> frappe._dict[str, str]: +) -> "frappe._dict[str, str]": unsubscribe_message = unsubscribe_message or _("Unsubscribe") unsubscribe_link = f'{unsubscribe_message}' unsubscribe_html = _("{0} to stop receiving emails of this type").format(unsubscribe_link)