Sometimes you want to be able to use synonyms in a SQLAlchemy mappers that point to columns that are present in the subclass rather than in the super class when using a polymorphic mapping….
"Migraine is a neurological disease that can cause a wide range of symptoms during an attack. The most commonly thought of symptom is headache." - Dammed
July 2, 2009
Using synonyms with SQLAlchemy and subclasses