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

Class A

test/ext/test_associationproxy.py:3444–3452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3442 Base = cls.DeclarativeBasic
3443
3444 class A(Base):
3445 __tablename__ = "a"
3446
3447 id = Column(Integer, primary_key=True)
3448 data = Column(String)
3449 bs = relationship("B", backref="a")
3450 data_syn = synonym("data")
3451
3452 b_data = association_proxy("bs", "data_syn")
3453
3454 class B(Base):
3455 __tablename__ = "b"

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected