MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / __setstate__

Method __setstate__

join/LSH/datasketch/storage.py:989–992  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

987 return state
988
989 def __setstate__(self, state):
990 self.__dict__ = state
991 # Reconnect here
992 self.__init__(self.config, name=self._name)
993
994
995 class RedisListStorage(OrderedStorage, RedisStorage):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.95

Tested by

no test coverage detected