Ah my bad! I really didn't do good testing. Your reply prompted me to find
the root of the problem and solution though. Posting it here just in case
this is useful to anyone else!
A gist of the problem I actually had was that I has a column_property in
Common defined in terms of the
Hi everyone!
I am trying to use the contains_eager option on a simple polymorphic query
that looks like:
class Superclass():
common_relationship = relationship('Common', ...)
discriminator_field = Column(String...)
__mapper_args__ = {'polymorphic_identity': 'superclass',