MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __and__

Method __and__

lib/sqlalchemy/ext/associationproxy.py:1973–1976  ·  view source on GitHub ↗
(self, s: AbstractSet[Any])

Source from the content-addressed store, hash-verified

1971 return set(self).intersection(*s)
1972
1973 def __and__(self, s: AbstractSet[Any]) -> MutableSet[_T]:
1974 if not collections._set_binops_check_strict(self, s):
1975 return NotImplemented
1976 return self.intersection(s)
1977
1978 def intersection_update(self, *s: Iterable[Any]) -> None:
1979 for other in s:

Callers

nothing calls this directly

Calls 1

intersectionMethod · 0.95

Tested by

no test coverage detected