[sqlalchemy] overriding DeclarativeBase and descriptors

2011-03-05 Thread farcat
Hi, I am trying to implement polymorphism and multiple inheritance by: - adding a column to the parent class/table indicating the table from which the (polymorphic) class attribute object can be queried - adding the attribute name and the parent id to the child table/class to be able to find the

Re: [sqlalchemy] overriding DeclarativeBase and descriptors

2011-03-05 Thread Michael Bayer
On Mar 5, 2011, at 10:43 AM, farcat wrote: Hi, I am trying to implement polymorphism and multiple inheritance by: - adding a column to the parent class/table indicating the table from which the (polymorphic) class attribute object can be queried - adding the attribute name and the