MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / intersection

Method intersection

lib/sqlalchemy/testing/util.py:138–139  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

136 return RandomSet(set.difference(self, other))
137
138 def intersection(self, other):
139 return RandomSet(set.intersection(self, other))
140
141 def copy(self):
142 return RandomSet(self)

Callers 15

referencesMethod · 0.45
_normalize_fromsMethod · 0.45
shares_lineageMethod · 0.45
_make_extra_fromsMethod · 0.45
_cloned_intersectionFunction · 0.45
_cloned_differenceFunction · 0.45
embeddedMethod · 0.45
corresponding_columnMethod · 0.45
visit_bindparamMethod · 0.45

Calls 1

RandomSetClass · 0.85

Tested by 4

test_get_columnsMethod · 0.36