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
I also have this issue with raw account objects that I get back from stripe, because on most of them the acct.statement_descriptor is already the empty string, which also throws the same error.
The text was updated successfully, but these errors were encountered:
I've verified that the issue happens with Python 3 but with Python 2. Apparently with Python 3, when unpickling StripeObjects the values are set via the __setitem__ method, which in our case causes an issue if any attribute had an empty string as its value (here).
Fixing this will probably require defining our own __getstate__ and __setstate__ methods on StripeObject.
I'm having issues unpickling stripe objects if some of their properties are either the empty string, or None.
The following code reproduces it
I also have this issue with raw account objects that I get back from stripe, because on most of them the acct.statement_descriptor is already the empty string, which also throws the same error.
The text was updated successfully, but these errors were encountered: