MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __or__

Method __or__

lib/sqlalchemy/ext/associationproxy.py:1945–1948  ·  view source on GitHub ↗
(self, __s: AbstractSet[_S])

Source from the content-addressed store, hash-verified

1943 return set(self).union(*s)
1944
1945 def __or__(self, __s: AbstractSet[_S]) -> MutableSet[Union[_T, _S]]:
1946 if not collections._set_binops_check_strict(self, __s):
1947 return NotImplemented
1948 return self.union(__s)
1949
1950 def difference(self, *s: Iterable[Any]) -> MutableSet[_T]:
1951 return set(self).difference(*s)

Callers

nothing calls this directly

Calls 1

unionMethod · 0.95

Tested by

no test coverage detected