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

Method __hash__

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

Source from the content-addressed store, hash-verified

97 self.conditions = tuple(conditions)
98
99 def __hash__(self):
100 return hash((self.handle, self.unit, self.label, self.iconID, self.defaultValue, self.defaultRange, self.mainTooltip, self.secondaryTooltip, self.conditions))
101
102 def __eq__(self, other):
103 if not isinstance(other, Input):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected