MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / B

Class B

test/typing/plain_files/orm/orm_querying.py:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28class B(Base):
29 __tablename__ = "b"
30 id: Mapped[int] = mapped_column(primary_key=True)
31 a_id: Mapped[int] = mapped_column(ForeignKey("a.id"))
32 data: Mapped[str]
33 a: Mapped[A] = relationship()
34
35
36def test_9669_and() -> None:

Callers

nothing calls this directly

Calls 3

mapped_columnFunction · 0.90
ForeignKeyClass · 0.90
relationshipFunction · 0.90

Tested by

no test coverage detected