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

Method __eq__

graphs/data/base/defs.py:102–114  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

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):
104 return False
105 return all((
106 self.handle == other.handle,
107 self.unit == other.unit,
108 self.label == other.label,
109 self.iconID == other.iconID,
110 self.defaultValue == other.defaultValue,
111 self.defaultRange == other.defaultRange,
112 self.mainTooltip == other.mainTooltip,
113 self.secondaryTooltip == other.secondaryTooltip,
114 self.conditions == other.conditions))
115
116
117class InputCheckbox:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected