

def __eq__(self, other):
    if (not isinstance(other, Table)):
        return False
    if (other.name != self.name):
        return False
    if (sorted(other.columns, key=operator.attrgetter('name')) != sorted(other.columns, key=operator.attrgetter('name'))):
        return False
    return True

dataset/ETHPy150Open Alexis-benoist/eralchemy/eralchemy/models.py Table.__eq__/VarMisuse@50/54 `self`->`other`