Re: [sqlalchemy] Referring to __tablename__ as defined by a mixin's delarative_attr

2015-08-31 Thread rob
Thanks On Sunday, August 30, 2015 at 10:28:58 PM UTC-5, Michael Bayer wrote: > > > > On 8/30/15 1:58 PM, r...@rosenfeld.to wrote: > > Hi All, > > I'm trying to replace string definitions prgrammatically where possible. > I have the following working: > > from sqlalchemy import Column > from

[sqlalchemy] Referring to __tablename__ as defined by a mixin's delarative_attr

2015-08-30 Thread rob
Hi All, I'm trying to replace string definitions prgrammatically where possible. I have the following working: from sqlalchemy import Column from sqlalchemy import Integer from sqlalchemy import ForeignKey from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import

Re: [sqlalchemy] Referring to __tablename__ as defined by a mixin's delarative_attr

2015-08-30 Thread Mike Bayer
On 8/30/15 1:58 PM, r...@rosenfeld.to wrote: Hi All, I'm trying to replace string definitions prgrammatically where possible. I have the following working: | from sqlalchemy import Column from sqlalchemy import Integer from sqlalchemy import ForeignKey from sqlalchemy.orm import