def __eq__(self, other):
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
dataset/ETHPy150Open amuraru/thrift-connection-pool/examples/gen-py/tutorial/ttypes.py/InvalidOperation.__eq__/original