Closed DougCal closed 3 years ago
The setters currently don't work for lists of strings or lists of tuples. Wasn't sure if they're needed for this feature, but let me know what you think of them and the expected behavior for if they're used. At the moment, this will raise an AttributionError
.
Going to get into updating this soon. Been extremely busy this last month, but going to make time for this when I can. Haven't forgotten this!
@eshanholtz ready for re-review! Loved the suggestion- cleaned up the code a lot. I tested making requests locally to be sure it prevented the duplicate email error and it worked quite well.
Fixes https://github.com/sendgrid/sendgrid-python/issues/788
This removes duplicate emails on setting the Personalization object, ignoring case.