Can you not use an inherited __table__
wrapped with declared_attr
from a base class in 2.x?
#11508
-
I'm upgrading our models from 1.4 to 2.0 and it mostly has gone smoothly. However we have several models that represent views in our db mapped using a hybrid declarative style. These view models inherit a For extra context, the base class's
This code was working in 1.4 but after upgrading to 2.0 gives me the above mentioned error complaining that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
this is supported. The behavior is a bug #11509 which will be fixed by tonight. Place |
Beta Was this translation helpful? Give feedback.
this is supported. The behavior is a bug #11509 which will be fixed by tonight. Place
__table__
on a subclass ofViewBase
declared with__abstract__ = True
for now.