MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __setstate__

Method __setstate__

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

Source from the content-addressed store, hash-verified

882 return dict(self)
883
884 def __setstate__(
885 self, state: Union[Dict[str, int], Dict[str, str]]
886 ) -> None:
887 self.update(state)
888
889
890class MutableList(Mutable, List[_T]):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected