Re: [sqlalchemy] inherited column_property

2015-11-09 Thread Mike Bayer
On 11/09/2015 01:17 PM, Uri Okrent wrote: > I'm trying to define a column_property on a mixin class for a > joined-table polymorphic class but I'm having issues with the from/joins. > > These are my classes: > > | > classMomBase(Base): > __tablename__ ='mom_objects' > guid =Column(Text,

[sqlalchemy] inherited column_property

2015-11-09 Thread Uri Okrent
I'm trying to define a column_property on a mixin class for a joined-table polymorphic class but I'm having issues with the from/joins. These are my classes: class MomBase(Base): __tablename__ = 'mom_objects' guid = Column(Text, primary_key=True) index = Column(Integer, index=True)