Hi, I'd like to know if it's possible to have multiple level of inheritance.
Please find attached a test case where I'd like to have Site to inherit from Company and also be the base table for SiteClient and SiteSupplier. I guess I'd need a mix of the following syntax (from the test): #site_mapper = mapper(Site, site_table, inherits=Company, polymorphic_identity='site') site_mapper = mapper(Site, site_table, polymorphic_on=site_table.c.type, polymorphic_identity='site') Is that possible ? Regards, -- Alexandre CONRAD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
SA_double_inheritance.py
Description: application/python