Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ User
Class
User
test/ext/test_automap.py:55–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
prop = relationship(
"addresses"
, collection_class=set)
54
55
class
User(Base):
56
__tablename__ =
"users"
57
58
addresses_collection = prop
59
60
Base.prepare()
61
assert User.addresses_collection.property is prop
Callers
4
test_relationship_o2m_default
Method · 0.70
test_relationship_explicit_override_o2m
Method · 0.70
test_relationship_explicit_override_m2o
Method · 0.70
test_naming_schemes
Method · 0.70
Calls
no outgoing calls
Tested by
4
test_relationship_o2m_default
Method · 0.56
test_relationship_explicit_override_o2m
Method · 0.56
test_relationship_explicit_override_m2o
Method · 0.56
test_naming_schemes
Method · 0.56