Re: [sqlalchemy] expired model does not reload relationships on get()

2016-01-07 Thread Mike Bayer
On 01/07/2016 08:04 PM, Christopher Lee wrote: > > I have a simple setup where I create two Nodes connected by an Edge, > where the Edge should be eagerly loaded when the parent is loaded. If I > query the Node with a get(), it issues a select to refresh it, but then > if I access its children,

[sqlalchemy] expired model does not reload relationships on get()

2016-01-07 Thread Christopher Lee
I have a simple setup where I create two Nodes connected by an Edge, where the Edge should be eagerly loaded when the parent is loaded. If I query the Node with a get(), it issues a select to refresh it, but then if I access its children, it issues a second get(). This behavior did not used to oc