chore: Stringify incompatible typing hints
This commit is contained in:
parent
bd3d7bf3ed
commit
091debb14f
1 changed files with 1 additions and 1 deletions
|
|
@ -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'<a href="<!--unsubscribe_url-->" target="_blank">{unsubscribe_message}</a>'
|
||||
unsubscribe_html = _("{0} to stop receiving emails of this type").format(unsubscribe_link)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue