MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / User

Class User

test/ext/declarative/test_reflection.py:137–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136 def test_exception_prepare_not_called(self):
137 class User(DeferredReflection, ComparableEntity, Base):
138 __tablename__ = "users"
139 addresses = relationship("Address", backref="user")
140
141 class Address(DeferredReflection, ComparableEntity, Base):
142 __tablename__ = "addresses"

Callers 15

_roundtripMethod · 0.70
_roundtripMethod · 0.70
test_basicMethod · 0.50
test_close_allMethod · 0.50
test_session_acloseMethod · 0.50
test_transMethod · 0.50

Calls 1

relationshipFunction · 0.90

Tested by 15

_roundtripMethod · 0.56
_roundtripMethod · 0.56
test_basicMethod · 0.40
test_close_allMethod · 0.40
test_session_acloseMethod · 0.40
test_transMethod · 0.40