hey dan -

dont have time to fully dig in yet, but are you aware that all object
change detection is performed *by* the TypeEngine object now ?
locate_dirty() finds pickle changes by inspecting the object attribute
against the compare_values() function on TypeEngine (and the value its
comparing to was created by the copy_value() method on TypeEngine).

the main issue here would be getting session awareness in there, since
the TypeEngine class knows nothing about the ORM and obviously needs to
stay that way.  i think the solution might involve creating a custom
ORM-aware pickletype that is constructed with awareness of the
SessionContext.


--~--~---------~--~----~------------~-------~--~----~
 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