Re: [sqlalchemy] query returns a non-result?

2011-11-04 Thread Michael Bayer
On Nov 3, 2011, at 9:33 AM, Chris Withers wrote: Hi All, Any idea what this traceback is about? This query normally works fine and is run a few hundred times a day ;-) if you use the DBAPI and you say: cursor = conn.cursor() cursor.execute(UPDATE XYZ set foo=bar) if you were to then try

[sqlalchemy] query returns a non-result?

2011-11-03 Thread Chris Withers
Hi All, Any idea what this traceback is about? This query normally works fine and is run a few hundred times a day ;-) cheers, Chris Original Message session.query(PasswordRequest).with_lockmode('update').all(): File SQLAlchemy-0.6.6-py2.6.egg/sqlalchemy/orm/query.py, line