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

Class A

test/ext/test_associationproxy.py:3496–3505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3494 Base = cls.DeclarativeBasic
3495
3496 class A(Base):
3497 __tablename__ = "a"
3498
3499 id = Column(Integer, primary_key=True)
3500 data = Column(String)
3501 bs = relationship("B", backref="a")
3502
3503 b_data = association_proxy("bs", "data")
3504
3505 b_data_syn = synonym("b_data")
3506
3507 class B(Base):
3508 __tablename__ = "b"

Callers

nothing calls this directly

Calls 4

ColumnClass · 0.90
relationshipFunction · 0.90
association_proxyFunction · 0.90
synonymFunction · 0.90

Tested by

no test coverage detected