Re: [sqlalchemy] How to Assign Blob Field?

2019-06-18 Thread Mike Bayer
On Tue, Jun 18, 2019, at 9:14 AM, Guy Zehavi wrote: > When I use sqlalchemy using mysql-connector-python to read unicode from a > blob I am getting: Hi there - While this issue may be impacted if you are using an old version of mysql-connector-python or of SQLAlchemy, assuming you are on

[sqlalchemy] How to Assign Blob Field?

2019-06-18 Thread Guy Zehavi
When I use sqlalchemy using mysql-connector-python to read unicode from a blob I am getting: Error closing cursorUnicodeDecodeError: 'utf-8' codec can't decode byte 0x9a in position 3: invalid start byte Now, I can solve this by doing , connect_args={'use_pure': True} to the create_engine.