MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / update

Method update

lib/sqlalchemy/ext/associationproxy.py:1907–1910  ·  view source on GitHub ↗
(self, *s: Iterable[_T])

Source from the content-addressed store, hash-verified

1905 return self._get(member)
1906
1907 def update(self, *s: Iterable[_T]) -> None:
1908 for iterable in s:
1909 for value in iterable:
1910 self.add(value)
1911
1912 def _bulk_replace(self, assoc_proxy: Any, values: Iterable[_T]) -> None:
1913 existing = set(self)

Callers 2

_setMethod · 0.45
updateMethod · 0.45

Calls 1

addMethod · 0.95

Tested by

no test coverage detected