Thank you, very much.
I actually did try to use the actually Column, but I could figure out how
to resolve my interdependencies since my column_property is actually a
subselect, and apparently I didn't test it on my test case.
--
You received this message because you are subscribed to the
I have a column_property on a polymorphic base class. When I
joinedload/subqueryload a derived class the colum_property makes the query
fail.
class A(Base):
__tablename__ = a
id = Column(Integer, primary_key=True)
type= Column(String(40), nullable=False)
__mapper_args__
It's a bug but a small one... I'd be ready to jump off a bridge if this kind of
thing wasn't working in general at this point. Trying your test case, the
column_property() for the moment has to be against the actual Column, not the
mapped property (there's a difference):
class A(Base):