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

Method __eq__

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

Source from the content-addressed store, hash-verified

127 return hash((self.handle, self.label, self.defaultValue, self.conditions))
128
129 def __eq__(self, other):
130 if not isinstance(other, Input):
131 return False
132 return all((
133 self.handle == other.handle,
134 self.label == other.label,
135 self.defaultValue == other.defaultValue,
136 self.conditions == other.conditions))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected