Re: [sqlalchemy] Joined Table Inheritance and Mapping:Child classes do not pick up maps to other tables

2010-04-06 Thread Michael Bayer
On Apr 6, 2010, at 3:56 PM, Josh Winslow wrote: I'm attempting to use joined table polymorphism for various types of activities. Activities all share a few common features, a location, a reference number, time, etc. but some have some further attributes. When I set up my map like so: mapp

[sqlalchemy] Joined Table Inheritance and Mapping:Child classes do not pick up maps to other tables

2010-04-06 Thread Josh Winslow
I'm attempting to use joined table polymorphism for various types of activities. Activities all share a few common features, a location, a reference number, time, etc. but some have some further attributes. When I set up my map like so: mapper(Activity, activities, polymorphic_on=activities.c.typ