Michael Bayer wrote:

> i just added it to before_update's docstring today:
>
> session.is_modified(instance, include_collections=False)
>
> and you can get the session using object_session(instance).
>
> I know this is relevant to your versioning extension since Ben and I
> had a day of it last week .... :)

Excellent :) Yes, Ben and I talked about it, and I am really glad to see
that there is a nice way to deal with this now!  Thanks!

--
Jonathan LaCour
http://cleverdevil.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to