MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / Parent

Class Parent

test/typing/plain_files/orm/mapped_covariant.py:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48class Parent(Base):
49 __tablename__ = "parent"
50
51 name: Mapped[str] = mapped_column(primary_key=True)
52
53 children: Mapped[Sequence["Child"]] = relationship("Child")
54
55
56class Child(Base):

Callers 1

Calls 2

mapped_columnFunction · 0.90
relationshipFunction · 0.90

Tested by

no test coverage detected