MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / union

Method union

lib/sqlalchemy/util/_collections_cy.py:376–380  ·  view source on GitHub ↗
(self, iterable: Iterable[Any], /)

Source from the content-addressed store, hash-verified

374
375 @cython.ccall
376 def union(self, iterable: Iterable[Any], /) -> IdentitySet:
377 result: IdentitySet = self.__class__()
378 result._members.update(self._members)
379 result.update(iterable)
380 return result
381
382 def __or__(self, other: Any) -> IdentitySet:
383 if not isinstance(other, IdentitySet):

Callers 2

setMethod · 0.95
__or__Method · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected