Re: [sqlalchemy] How to make defaults appear in the instance after Session flush?

2015-01-05 Thread Michael Bayer
alchemy1 veerukrish...@hotmail.com wrote: If I have a parent object with a one to many relationship to children objects, then when I flush the session I don't see any default values when I inspect the children. In this example, for the first object I can see attribute '_sa_instance_state',

[sqlalchemy] How to make defaults appear in the instance after Session flush?

2015-01-05 Thread alchemy1
If I have a parent object with a one to many relationship to children objects, then when I flush the session I don't see any default values when I inspect the children. In this example, for the first object I can see attribute '_sa_instance_state', 'first', and 'parent_pk'. For the second