MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / __setstate__

Method __setstate__

KVCOMM/graph/graph.py:448–453  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

446 return state
447
448 def __setstate__(self, state):
449 self.__dict__.update(state)
450
451 for node in self.nodes.values():
452 if hasattr(node, 'lock'):
453 node.lock = asyncio.Lock()
454
455 def __deepcopy__(self, memo):
456 cls = self.__class__

Callers 1

__deepcopy__Method · 0.45

Calls 2

updateMethod · 0.80
valuesMethod · 0.80

Tested by

no test coverage detected