You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is only happening on python 3.10 and above, but the culprit seems to be the type check on line 444 in mail.py: type(personalization) == Dict seems to evaluate to false even when the personalization instances.
I believe replacing the check with isinstance(personalization, Dict) should do the trick and leave things backwards compatible.
(maybe its worth doing this for line 447 as well?)
Let me know if it would be helpful for me to make the changes and create a PR.
Thanks!
The text was updated successfully, but these errors were encountered:
Not sure if this is only happening on python 3.10 and above, but the culprit seems to be the type check on line 444 in mail.py:
type(personalization) == Dict
seems to evaluate to false even when the personalization instances.I believe replacing the check with
isinstance(personalization, Dict)
should do the trick and leave things backwards compatible.(maybe its worth doing this for line 447 as well?)
Let me know if it would be helpful for me to make the changes and create a PR.
Thanks!
The text was updated successfully, but these errors were encountered: