I am on current svn and have not tested expire but refresh is happy to refresh an object that is not in the session.
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> item = session.query(Item).get(11) 2008-03-06 12:59:40,592 INFO sqlalchemy.engine.base.Engine.0x..50 SELECT ... >>> session.clear() >>> item in session False >>> session.refresh(item) 2008-03-06 13:00:02,035 INFO sqlalchemy.engine.base.Engine.0x..50 SELECT ... >>> item in session False --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
