Re: [sqlalchemy] SQLAlchemy: backref and object loaded from DB not working?

2017-08-17 Thread Mike Bayer
On Thu, Aug 17, 2017 at 3:57 PM, cecemel wrote: > Is the backref relationship supposed to work with objects loaded from the > DB? > > > Here is the case: > > Similar to the (doc/tutorial) I have the following classes: > > from sqlalchemy import Integer, ForeignKey, String, Column > from sqlalchemy

[sqlalchemy] SQLAlchemy: backref and object loaded from DB not working?

2017-08-17 Thread cecemel
Is the backref relationship supposed to work with objects loaded from the DB? Here is the case: Similar to the (doc/tutorial ) I have the following classes: from sqlalchemy import Integer, ForeignKey, String, Column