[sqlalchemy] duplicate an object

2015-03-06 Thread moonkid
I am using SQLAlchemy with PostgreSQL and Python3. Is there a in-build-function to duplicate the instance of a data object (except the primary key)? Somebody suggested me this self-build function but I would like to use the SQLAlchemy-way if there is one. >From

[sqlalchemy] Re: Flushed PickleType data disappearing

2015-03-06 Thread SQLRook
Thanks, I was able to adapt this to my use of pickled lists, and for sets, I found a working implementation of mutable sets. On Thursday, February 26, 2015 at 4:14:22 PM UTC-5, SQLRook wrote: > > I'm having an issue where a list of user-defined objects is disappearing > as a function goes out of