create_definition requires a bytestring
Closed this issue · 0 comments
danfairs commented
The User.create_definition() method requires a bytestring - there's an explicit isinstance check for str. Ideally it should also be able to take unicode as well, and encode it itself - that means the application can focus on the data rather than worry about encoding and decoding.
If I get time, I'll prepare a small patch.