

def __eq__(self, other):
    if (other.__class__.__name__ != self.__class__.__name__):
        return False
    for identifier in self.meta.identifiers:
        if (getattr(self, identifier) != getattr(other, identifier)):
            return False
    return True

dataset/ETHPy150Open boto/boto3/boto3/resources/base.py ServiceResource.__eq__/original