Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

_text and _html attributes and methods in FooterSettings do not match #1083

Open
airyxiang opened this issue Jul 5, 2024 · 0 comments
Open

Comments

@airyxiang
Copy link

According to the comments, the _text and _html attributes in FooterSettings are of type str, which will cause an error when calling the get() method of mail.

/usr/local/lib/python3.10/site-packages/sendgrid/helpers/mail/footer_settings.py in get(self)
88
89 if self.text is not None:
---> 90 footer_settings["text"] = self.text.get()
91
92 if self.html is not None:

AttributeError: 'str' object has no attribute 'get'

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant