Re: [sqlalchemy] Eagerly loading backrefs

2015-04-09 Thread Sebastian Eckweiler
Thanks for the quick response! I implemented your suggestion and I think that's perfectly fine for me, as there's no use case for loading ConfigParam instances on their own. cheers Am Mittwoch, 8. April 2015 17:16:44 UTC+2 schrieb Michael Bayer: On 4/8/15 3:22 AM, Sebastian Eckweiler

[sqlalchemy] Eagerly loading backrefs

2015-04-08 Thread Sebastian Eckweiler
Hi there - I'm having trouble working with backrefs of detached objects. I'm basically working with a extended version of the code below: class Config(Base): __tablename__ = 'config' ID = Column('ID', Integer, primary_key=True) name = Column('name', String) last_modified =

Re: [sqlalchemy] Eagerly loading backrefs

2015-04-08 Thread Mike Bayer
On 4/8/15 3:22 AM, Sebastian Eckweiler wrote: Hi there - I'm having trouble working with backrefs of detached objects. I'm basically working with a extended version of the code below: | classConfig(Base): __tablename__ ='config' ID =Column('ID',Integer,primary_key=True) name