MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / __setstate__

Method __setstate__

lib/sqlalchemy/ext/mutable.py:1079–1080  ·  view source on GitHub ↗
(self, state: Iterable[_T])

Source from the content-addressed store, hash-verified

1077 return set(self)
1078
1079 def __setstate__(self, state: Iterable[_T]) -> None:
1080 self.update(state)
1081
1082 def __reduce_ex__(
1083 self, proto: SupportsIndex

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected