| 2253 | } |
| 2254 | |
| 2255 | class B(A): |
| 2256 | __tablename__ = "b" |
| 2257 | id: Mapped[int] = mapped_column( |
| 2258 | ForeignKey("a.id"), primary_key=True |
| 2259 | ) |
| 2260 | bd: Mapped[str] |
| 2261 | z: Mapped[Optional[int]] = mapped_column("zcol") |
| 2262 | q: Mapped[Optional[int]] |
| 2263 | |
| 2264 | if cls.use_sentinel: |
| 2265 | _sentinel: Mapped[int] = orm_insert_sentinel() |
| 2266 | |
| 2267 | __mapper_args__ = {"polymorphic_identity": "b"} |
| 2268 | |
| 2269 | @testing.combinations( |
| 2270 | "orm", |
nothing calls this directly
no test coverage detected