[sqlalchemy] Re: Quick way to deep copy an object?

2008-09-10 Thread Tim Jones
Michael, Thanks for your reply. The use case is configuration management. We have complex (SQLAlchemy) objects with many relationships which we wish to up-version, i.e. we want an exact persistent copy (attribute values and relationships) of the original object, but with a different identity,

[sqlalchemy] Re: Quick way to deep copy an object?

2008-09-10 Thread Tim Jones
Michael, I get the idea thanks. Before I embarked on this - I wanted to check that there was not a simple way that I had overlooked. Thanks for your time. Regards, Tim 2008/9/10 Michael Bayer [EMAIL PROTECTED] On Sep 10, 2008, at 4:39 AM, Tim Jones wrote: Michael, Thanks for your