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

Method __setstate__

lib/sqlalchemy/ext/mutable.py:888–891  ·  view source on GitHub ↗
(
        self, state: Union[Dict[str, int], Dict[str, str]]
    )

Source from the content-addressed store, hash-verified

886 return dict(self)
887
888 def __setstate__(
889 self, state: Union[Dict[str, int], Dict[str, str]]
890 ) -> None:
891 self.update(state)
892
893
894class MutableList(Mutable, List[_T]):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected