[sqlalchemy] Reloading attributes on expired objects

2010-04-05 Thread John Huang
Hi, I recently upgraded my system from SA 0.3.11 to 0.5.8, and I found that the behaviour for expiring instances has changed in terms of how much data gets retrieved upon attribute access. For instance, # One User can have many groups mapper(User, user_tbl, properties={'groups':relation(Group,

Re: [sqlalchemy] Reloading attributes on expired objects

2010-04-05 Thread Michael Bayer
John Huang wrote: Hi, I recently upgraded my system from SA 0.3.11 to 0.5.8, and I found that the behaviour for expiring instances has changed in terms of how much data gets retrieved upon attribute access. For instance, # One User can have many groups mapper(User, user_tbl,