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

Class A

examples/asyncio/async_orm.py:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30class A(Base):
31 __tablename__ = "a"
32
33 id: Mapped[int] = mapped_column(primary_key=True)
34 data: Mapped[Optional[str]]
35 create_date: Mapped[datetime.datetime] = mapped_column(
36 server_default=func.now()
37 )
38 bs: Mapped[List[B]] = relationship()
39
40
41class B(Base):

Callers 1

async_mainFunction · 0.70

Calls 3

mapped_columnFunction · 0.90
relationshipFunction · 0.90
nowMethod · 0.80

Tested by

no test coverage detected