def __eq__(self, other):
    if not isinstance(other, self.__class__):
      return False
    return self.__hash__() == other.__hash__()
Comparison for equality that uses the hash of the object.
dataset/ETHPy150Open GoogleCloudPlatform/endpoints-proto-datastore/endpoints_proto_datastore/utils.py/MessageFieldsSchema.__eq__