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

Class B

examples/asyncio/async_orm_writeonly.py:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43class B(Base):
44 __tablename__ = "b"
45 id: Mapped[int] = mapped_column(primary_key=True)
46 a_id: Mapped[int] = mapped_column(ForeignKey("a.id"))
47 data: Mapped[Optional[str]]
48
49
50async def async_main():

Callers 1

async_mainFunction · 0.70

Calls 2

mapped_columnFunction · 0.90
ForeignKeyClass · 0.90

Tested by

no test coverage detected