| Conditions | 3 | 
| Total Lines | 10 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | from overpy import Node # type: ignore | ||
| 19 | def __eq__(self, other: object) -> bool: | ||
| 20 | if isinstance(other, HashableNodeSnapshot) or isinstance(other, Node): | ||
| 21 | return (self.id, self.lat, self.lon, self.tags.items()) == ( | ||
| 22 | other.id, | ||
| 23 | other.lat, | ||
| 24 | other.lon, | ||
| 25 | other.tags.items(), | ||
| 26 | ) | ||
| 27 | |||
| 28 | return NotImplemented | ||
| 29 |