| 187 | """test #2316 in support of #8064""" |
| 188 | |
| 189 | class A(decl_base): |
| 190 | __tablename__ = "a" |
| 191 | id = Column(Integer, primary_key=True) |
| 192 | type = Column(String(40), nullable=False) |
| 193 | __mapper_args__ = {"polymorphic_on": type} |
| 194 | |
| 195 | A.anything = column_property(A.id + 1000) |
| 196 |