def _devs_for_part(self, part):
        if self._replica2part2dev is None:
            return []
        devs = []
        for part2dev in self._replica2part2dev:
            if part >= len(part2dev):
                continue
            dev_id = part2dev[part]
            if dev_id == NONE_DEV:
                continue
            devs.append(self.devs[dev_id])
        return devs
Returns a list of devices for a specified partition.
dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder._devs_for_part