def __eq__(self, other):
    if not isinstance(other, IndexProperty):
      return NotImplemented
    return self.name == other.name and self.direction == other.direction
Builds device blockdev report.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/IndexProperty.__eq__--crossover with--dataset/ETHPy150Open openstack/bareon/bareon/utils/hardware.py/blockdevreport