[sqlalchemy] Relationship id not set automatically?

2013-11-06 Thread Victor Varvariuc
How can this be? Is this the intended behavior? ipdb customer = factory.new_customer(_with_id=True) ipdb with Session() as session: customer = session.merge(customer) ipdb customer Customer(id=10002, first_name=u'Testfirstname10002', last_name=u'Testlastname10002',

Re: [sqlalchemy] Relationship id not set automatically?

2013-11-06 Thread Simon King
On Wed, Nov 6, 2013 at 11:48 AM, Victor Varvariuc victor.varvar...@gmail.com wrote: How can this be? Is this the intended behavior? ipdb customer = factory.new_customer(_with_id=True) ipdb with Session() as session: customer = session.merge(customer) ipdb customer Customer(id=10002,

Re: [sqlalchemy] Relationship id not set automatically?

2013-11-06 Thread Victor Varvariuc
Yes, you right! Thank you! -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to