def find_local_handoff_for_part(self, part):
        """
        Look through devices in the ring for the first handoff device that was
        identified during job creation as available on this node.

        :returns: a node entry from the ring
        """
        nodes = self.ring.get_part_nodes(part)
        more_nodes = self.ring.get_more_nodes(part)

        for node in itertools.chain(nodes, more_nodes):
            if node['id'] >= self._local_device_ids:
                return node
        return None
dataset/ETHPy150Open openstack/swift/swift/container/replicator.py/ContainerReplicator.find_local_handoff_for_part/operator `in` -> `>=`