MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / B

Class B

test/ext/test_associationproxy.py:1202–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1200 )
1201
1202 class B(decl_base):
1203 __tablename__ = "b"
1204 id = mapped_column(Integer, primary_key=True)
1205 data = mapped_column(String)
1206
1207 def __init__(self, data=None):
1208 self.data = data
1209
1210 a1 = A()
1211 is_none(a1.b)

Callers 15

AClass · 0.70
test_delMethod · 0.70
test_del_no_proxyMethod · 0.70
test_get_ambiguousMethod · 0.70
test_get_nonambiguousMethod · 0.70
test_set_ambiguousMethod · 0.70

Calls 1

mapped_columnFunction · 0.90

Tested by 15

test_delMethod · 0.56
test_del_no_proxyMethod · 0.56
test_get_ambiguousMethod · 0.56
test_get_nonambiguousMethod · 0.56
test_set_ambiguousMethod · 0.56
test_set_nonambiguousMethod · 0.56