in generator/explores/explore.py [0:0]
def __eq__(self, other) -> bool:
"""Check for equality with other View."""
def comparable_dict(d):
return tuple(sorted(d.items()))
if isinstance(other, Explore):
return (
self.name == other.name
and comparable_dict(self.views) == comparable_dict(other.views)
and self.type == other.type
)
return False