MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / B

Class B

test/orm/dml/test_bulk_statements.py:2255–2267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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",

Callers

nothing calls this directly

Calls 3

mapped_columnFunction · 0.90
ForeignKeyClass · 0.90
orm_insert_sentinelFunction · 0.90

Tested by

no test coverage detected