MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / __eq__

Method __eq__

utils/reduction.py:58–61  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

56 return self.cdata
57
58 def __eq__(self, other):
59 if id(self) == id(other):
60 return True
61 return self.cdata == other.cdata
62
63
64class SharedCache(dict):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected