

def __eq__(self, other):
    'Compare two index states.'
    if (not isinstance(self, IndexState)):
        return NotImplemented
    return ((self.definition == other.definition) and (self.state == other.state) and (self.id == other.id))

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py IndexState.__eq__/VarMisuse@19/29 `other`->`self`