[sqlalchemy] Re: Curious problem with SQLAlchemy

2007-05-13 Thread Michael Harrison
My oh my... I found the problem. Even though the stack trace indicated it was using cached objects, this must not have been the case. Once I recycled Apache, everything worked fine. Thanks for your feedback nevertheless, -Michael On May 13, 5:46 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > O

[sqlalchemy] Re: Curious problem with SQLAlchemy

2007-05-13 Thread Michael Bayer
On May 13, 2007, at 1:42 PM, Michael Harrison wrote: > > I'm trying to execute a simple query using SA. The following python > script *works*: > > dbsession = create_session() > results = dbsession.query(User).select_by(email='[EMAIL PROTECTED]') > for user in results: > print user.email >