MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / issubset

Method issubset

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

Source from the content-addressed store, hash-verified

334
335 @cython.ccall
336 def issubset(self, iterable: Iterable[Any], /) -> cython.bint:
337 other: IdentitySet
338 if isinstance(iterable, IdentitySet):
339 other = iterable
340 else:
341 other = self.__class__(iterable)
342
343 return self._members.keys() <= other._members.keys()
344
345 def __le__(self, other: Any) -> bool:
346 if not isinstance(other, IdentitySet):

Callers 8

__le__Method · 0.95
__lt__Method · 0.95
_load_scalar_attributesFunction · 0.45
_collect_insert_commandsFunction · 0.45
_collect_update_commandsFunction · 0.45

Calls 1

keysMethod · 0.45

Tested by 1