(self, other: Any)
| 57 | self._signature['name'] = name |
| 58 | |
| 59 | def __eq__(self, other: Any) -> bool: |
| 60 | return (isinstance(other, ApiFunction) and |
| 61 | self.getSignature() == other.getSignature()) |
| 62 | |
| 63 | # __hash__ is needed because __eq__ is defined. |
| 64 | # See https://docs.python.org/3/reference/datamodel.html#object.__hash__ |