MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __hash__

Method __hash__

graphs/data/base/defs.py:71–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 return self.label
70
71 def __hash__(self):
72 return hash((self.handle, self.unit, self.label, self.mainInput, self._selectorLabel))
73
74 def __eq__(self, other):
75 if not isinstance(other, XDef):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected