Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ DontCompareMeToString
Class
DontCompareMeToString
test/orm/test_mapper.py:516–517 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
514
m = self.mapper(Foo, foo_t)
515
516
class
DontCompareMeToString(int):
517
pass
518
519
foos = [Foo(id_=
"f%d"
% i)
for
i in range(5)]
520
states = [attributes.instance_state(f)
for
f in foos]
Callers
1
test_sort_states_comparisons
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_sort_states_comparisons
Method · 0.68