MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / A

Class A

test/ext/test_associationproxy.py:3390–3399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3388 Base = cls.DeclarativeBasic
3389
3390 class A(Base):
3391 __tablename__ = "a"
3392
3393 id = Column(Integer, primary_key=True)
3394 data = Column(String)
3395 bs = relationship("B", backref="a")
3396
3397 b_data = association_proxy("bs", "data")
3398
3399 b_data_syn = synonym("b_data")
3400
3401 class B(Base):
3402 __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