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

Method __hash__

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

Source from the content-addressed store, hash-verified

124 self.conditions = tuple(conditions)
125
126 def __hash__(self):
127 return hash((self.handle, self.label, self.defaultValue, self.conditions))
128
129 def __eq__(self, other):
130 if not isinstance(other, Input):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected