TypeError "name must be of type string" regression when name is Unicode string #790
Labels
difficulty: medium
fix is medium in difficulty
status: work in progress
Twilio or the community is in the process of implementing
type: bug
bug in the library
Issue Summary
We encountered the following regression error after upgrading from sendgrid v5.6 to v6.0.3.
Steps to Reproduce
The following code should reproduce the problem:
This code works in v5.6.
Technical details:
In v5.6, the name setter method in the Email class (helpers/mail/email.py) was simply this:
In v6, the name setter method was changed to the following:
Note that isinstance() is using str not basestring.
The text was updated successfully, but these errors were encountered: