MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / pop

Method pop

lib/sqlalchemy/ext/associationproxy.py:1901–1905  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1899 raise KeyError(__element)
1900
1901 def pop(self) -> _T:
1902 if not self.col:
1903 raise KeyError("pop from an empty set")
1904 member = self.col.pop()
1905 return self._get(member)
1906
1907 def update(self, *s: Iterable[_T]) -> None:
1908 for iterable in s:

Callers 3

_criterion_existsMethod · 0.45
popMethod · 0.45
popMethod · 0.45

Calls 1

_getMethod · 0.45

Tested by

no test coverage detected