[sqlalchemy] session never saved to db

2010-09-11 Thread Faheem Mitha
Hi, The following session is never saved to the db, not even a schema is created, but a query returns correctly. I assume that there is local caching going on. but session.dirty etc doesn't show anything. So, two questions: First, how (if possible) can I force sqla to hit the db? In this

Re: [sqlalchemy] session never saved to db

2010-09-11 Thread Michael Bayer
On Sep 11, 2010, at 12:59 PM, Faheem Mitha wrote: Hi, The following session is never saved to the db, not even a schema is created, but a query returns correctly. I assume that there is local caching going on. but session.dirty etc doesn't show anything. So, two questions: First,