[storm] Copying objects attached to a storm database.

Georg Schölly georg.schoelly at gmail.com
Fri Nov 13 13:45:13 GMT 2009


Hello,

I tried copying a storm object using the built-in copy module. This
didn't work because it copied all the internal storm details of the
object too, which resulted in two objects having the same primary key.
After commit one of the objects was overwritten.

Is there already a functionality in storm to make copies of objects?

If not, is there any reason one couldn't / shouldn't include a
__copy__ method in the storm.base.Storm object? Any interest in having
such a method?

Regards,
Georg Schölly



More information about the storm mailing list