Sorry with the original code this exception is raise:
'_DictStatement' object has no attribute 'charset'
Sorry with the original code this exception is raise:
'_DictStatement' object has no attribute 'charset'