swift/proxy/controllers/obj.py
def provide_alternate_node(self):
        """
        Callback function that is installed in a NodeIter. Called on every call
        to NodeIter.next(), which means we can track the number of nodes to
        which GET requests have been made and selectively inject an alternate
        node, if we have one.

        :return: A dict describing a node to which the next GET request
                 should be made.
        """
        self.node_iter_count += 1
        nodes = self._get_alternate_nodes()
        if nodes:
            return nodes.pop(0).copy()

        Callback function that is installed in a NodeIter. Called on every call
        to NodeIter.next(), which means we can track the number of nodes to
        which GET requests have been made and selectively inject an alternate
        node, if we have one.

        :return: A dict describing a node to which the next GET request
                 should be made.
        
Callback function that is installed in a NodeIter. Called on every call
to NodeIter.next(), which means we can track the number of nodes to
which GET requests have been made and selectively inject an alternate
node, if we have one.
Callback function that is installed in a NodeIter . Called on every call to NodeIter . next () which means we can track the number of nodes to which GET requests have been made and selectively inject an alternate node if we have one .
def provide_alternate_node(self):
        self.node_iter_count += 1
        nodes = self._get_alternate_nodes()
        if nodes:
            return nodes.pop(0).copy()
def provide_alternate_node ( self ) : self . node_iter_count += 1 nodes = self . _get_alternate_nodes ( ) if nodes : return nodes . pop ( 0 ) . copy ( )
Callback function that is installed in a NodeIter.
Callback function that is installed in a NodeIter .
"""
        Callback function that is installed in a NodeIter. Called on every call
        to NodeIter.next(), which means we can track the number of nodes to
        which GET requests have been made and selectively inject an alternate
        node, if we have one.

        :return: A dict describing a node to which the next GET request
                 should be made.
        """
A dict describing a node to which the next GET request
should be made.
A dict describing a node to which the next GET request should be made .
self