On Nov 21, 2012, at 4:42 PM, Ivan Kalinin wrote:
> Hellow, fellow developers! > > I have run into and issue trying to use SQLAlchemy (0.7.4) and recent pymssql > (2.0.0). > > Precisely, pymssql can not handle uuid.UUID objects as parameters (see > related post on their ML here), but SA uses them in generated queries for the > object querying/deletion. > > Folks from the pymssql suggest that the convertion of uuid.UUID to the string > objects should be done in the corresponding SA dialect. > > If so, I would be glad to fix that with a patch if someone could give me > couple of pointers to writing these dialects. Take a look at the UUID recipe at http://docs.sqlalchemy.org/en/rel_0_8/core/types.html#backend-agnostic-guid-type which is provided for this purpose. -- 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.