MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / User

Class User

test/typing/plain_files/orm/session.py:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40class User(Base):
41 __tablename__ = "user"
42
43 id: Mapped[int] = mapped_column(primary_key=True)
44 name: Mapped[str]
45 addresses: Mapped[List[Address]] = relationship(back_populates="user")
46
47
48class Address(Base):

Callers 3

session.pyFile · 0.70
test_with_for_updateFunction · 0.70

Calls 2

mapped_columnFunction · 0.90
relationshipFunction · 0.90

Tested by 2

test_with_for_updateFunction · 0.56