Re: [sqlalchemy] Column X on class Y conflicts with existing column Z

2010-06-24 Thread Michael Bayer
On Jun 24, 2010, at 9:44 AM, Adam Tauno Williams wrote: > Is this legal? The field "title" is exposed in one polymorphic subclass > as the attribute "file_name" and in another as "name". > > > class _Doc(Base): >""" An OpenGroupare Document object """ >__tablename__ = 'doc' >

[sqlalchemy] Column X on class Y conflicts with existing column Z

2010-06-24 Thread Adam Tauno Williams
Is this legal? The field "title" is exposed in one polymorphic subclass as the attribute "file_name" and in another as "name". class _Doc(Base): """ An OpenGroupare Document object """ __tablename__ = 'doc' object_id = Column("document_id",