Re: [sqlalchemy] Possible bug with populating backref collections

2017-01-27 Thread mike bayer
On 01/27/2017 11:23 AM, Philip Scott wrote: I think it's easier to explain in an example than for me to waffle on trying to explain myself :) that's always the best :) because i find it easier to run a program and see what it does rather than read it :) s.expire_all() b3.a = a1

[sqlalchemy] Possible bug with populating backref collections

2017-01-27 Thread Philip Scott
I think it's easier to explain in an example than for me to waffle on trying to explain myself :) from sqlalchemy import Column, ForeignKey, Integer, create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, Session Base = declarative_base()