MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / A

Class A

examples/asyncio/gather_orm_statements.py:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35class A(Base):
36 __tablename__ = "a"
37
38 id: Mapped[int] = mapped_column(primary_key=True)
39 data: Mapped[str]
40
41 def __repr__(self):
42 id_, data = self.id, self.data
43 return f"A({id_=}, {data=})"
44
45
46async def run_out_of_band(async_sessionmaker, statement, merge_results=True):

Callers 1

async_mainFunction · 0.70

Calls 1

mapped_columnFunction · 0.90

Tested by

no test coverage detected