

def __eq__(self, other):
    if (not isinstance(other, _BaseValue)):
        return NotImplemented
    return (self.b_val == other.b_val)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py _BaseValue.__eq__/original