

def __eq__(self, other):
    if Drawable.__eq__(self, other):
        return True
    other_inversed = Relation(right_col=other.left_col, left_col=other.right_col, right_cardinality=other.left_cardinality, left_cardinality=other_inversed.right_cardinality)
    return (other_inversed.__dict__ == self.__dict__)

dataset/ETHPy150Open Alexis-benoist/eralchemy/eralchemy/models.py Relation.__eq__/VarMisuse@52/71 `other`->`other_inversed`