On 8/24/2010 9:47 PM, Michael Bayer wrote:
Michael Hipp wrote:
How do I make a copy of an orm object such that modifications to the
copy do not affect the original?
The mapped object has a member _sa_instance_state that you basically
don't want to transfer to your new object.You want it
On Oct 16, 2010, at 1:02 PM, Michael Hipp wrote:
On 8/24/2010 9:47 PM, Michael Bayer wrote:
Michael Hipp wrote:
How do I make a copy of an orm object such that modifications to the
copy do not affect the original?
The mapped object has a member _sa_instance_state that you basically
don't
On 10/16/2010 12:52 PM, Michael Bayer wrote:
On Oct 16, 2010, at 1:02 PM, Michael Hipp wrote:
On 8/24/2010 9:47 PM, Michael Bayer wrote:
Michael Hipp wrote:
How do I make a copy of an orm object such that modifications to the
copy do not affect the original?
The mapped object has a member
On Oct 16, 2010, at 2:03 PM, Michael Hipp wrote:
On 10/16/2010 12:52 PM, Michael Bayer wrote:
On Oct 16, 2010, at 1:02 PM, Michael Hipp wrote:
On 8/24/2010 9:47 PM, Michael Bayer wrote:
Michael Hipp wrote:
How do I make a copy of an orm object such that modifications to the
copy do not
On 10/16/2010 1:55 PM, Michael Bayer wrote:
On Oct 16, 2010, at 2:03 PM, Michael Hipp wrote:
On 10/16/2010 12:52 PM, Michael Bayer wrote:
On Oct 16, 2010, at 1:02 PM, Michael Hipp wrote:
On 8/24/2010 9:47 PM, Michael Bayer wrote:
Michael Hipp wrote:
How do I make a copy of an orm object
On Oct 16, 2010, at 4:02 PM, Michael Hipp wrote:
On 10/16/2010 1:55 PM, Michael Bayer wrote:
On Oct 16, 2010, at 2:03 PM, Michael Hipp wrote:
On 10/16/2010 12:52 PM, Michael Bayer wrote:
On Oct 16, 2010, at 1:02 PM, Michael Hipp wrote:
On 8/24/2010 9:47 PM, Michael Bayer wrote:
On 8/24/2010 9:47 PM, Michael Bayer wrote:
Michael Hipp wrote:
How do I make a copy of an orm object such that modifications to the
copy do not affect the original?
x = MyObject()
for a in dir(myoldobject):
if not a.startswith('_'):
setattr(x, a,
I'm holding an orm object that will have changes made to it. Once done it will
be passed to the business logic layer that will have to make decisions from the
before and after state of the object...
What's the best way to get an object, save its state ('before'), modify it
('after) without
On Aug 24, 2010, at 2:08 PM, Michael Hipp wrote:
I'm holding an orm object that will have changes made to it. Once done it
will be passed to the business logic layer that will have to make decisions
from the before and after state of the object...
What's the best way to get an object,
On 8/24/2010 1:51 PM, Michael Bayer wrote:
On Aug 24, 2010, at 2:08 PM, Michael Hipp wrote:
I'm holding an orm object that will have changes made to it. Once done it will
be passed to the business logic layer that will have to make decisions from the
before and after state of the object...
Michael Hipp wrote:
On 8/24/2010 1:51 PM, Michael Bayer wrote:
On Aug 24, 2010, at 2:08 PM, Michael Hipp wrote:
I'm holding an orm object that will have changes made to it. Once done
it will be passed to the business logic layer that will have to make
decisions from the before and after
11 matches
Mail list logo