Re: [sqlalchemy] looks like bug ses.query(data).update()

2010-09-30 Thread bogun . dmitriy
2010/9/30 Michael Bayer : > this is a bug , created at http://www.sqlalchemy.org/trac/ticket/1935 , and a > patch which fixes this issue is there.     will try to get this committed > soon. Thanks, patch fix issue. >> I try to update counter for omr object ang got following: >> >> Traceback (mo

Re: [sqlalchemy] looks like bug ses.query(data).update()

2010-09-30 Thread Michael Bayer
this is a bug , created at http://www.sqlalchemy.org/trac/ticket/1935 , and a patch which fixes this issue is there. will try to get this committed soon. On Sep 30, 2010, at 9:57 AM, bogun.dmit...@gmail.com wrote: > I try to update counter for omr object ang got following: > > Traceback (

[sqlalchemy] looks like bug ses.query(data).update()

2010-09-30 Thread bogun . dmitriy
I try to update counter for omr object ang got following: Traceback (most recent call last): File "/home/vugluskr/tmp/z/sa.py", line 56, in main() File "/home/vugluskr/tmp/z/sa.py", line 52, in main q2.update({data.cnt: data.cnt + 1}) File "/usr/lib/python2.6/site-packages/sqlalchem