[sqlalchemy] Cant understand behavior of sqlalchemy while adding same object twice in a session

2011-10-18 Thread Manav Goel
Hello, I am working in eclipse IDE. I have this code in the file : class User(Base): __tablename__ = 'users' id = Column('user_id',Integer,primary_key = True) name =

Re: [sqlalchemy] Cant understand behavior of sqlalchemy while adding same object twice in a session

2011-10-18 Thread Michael Bayer
On Oct 18, 2011, at 1:21 PM, Manav Goel wrote: Hello, I am working in eclipse IDE. I have this code in the file : class User(Base): __tablename__ = 'users' id =