Tracking down where one forgot to use u'' e.g.:

    somemodelinstance.somecol = 'somevalue'
instead of:
    somemodelinstance.somecol = u'somevalue'

is sometimes not that easy to track down as the warning doesn't provide any hints.

C:\python27\lib\site-packages\sqlalchemy-0.7.2-py2.7.egg\sqlalchemy\engine\default.py:448: SAWarning: Unicode type received non-unicode bind param value
  param.append(processors[key](compiled_params[key]))

Tried to come up with a patch but can't figure out how/where this warning is generated.

Could it include e.g. the model class and column name?

Werner

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to