def _get_next_hops(self):
        if self.hop_count >= self.max_hop_count:
            return []
        if self.direction == 'down':
            return self.state_manager.get_child_cells()
        else:
            return self.state_manager.get_parent_cells()
If present, unregisters a resource from the API.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/messaging.py/_BroadcastMessage._get_next_hops--crossover with--dataset/ETHPy150Open toastdriven/piecrust/piecrust/api.py/Api.unregister