(self, attr, args, kwargs, **fkwargs)
return [i for i, h in self.cluster.hosts.iteritems()
                if h.identifier == found]
The first argument is assumed to be the ``key`` for routing.
The first argument is assumed to be the ``key`` for routing.
The first argument is assumed to be the key for routing .
def _route(self, attr, args, kwargs, **fkwargs):
        """
        The first argument is assumed to be the ``key`` for routing.
        """

        key = get_key(args, kwargs)

        found = self._hash.get_node(key)

        if not found and len(self._down_connections) > 0:
            raise self.HostListExhausted()

        return [i for i, h in self.cluster.hosts.iteritems()
                if h.identifier == found]
def _route ( self , attr , args , kwargs , * * fkwargs ) : key = get_key ( args , kwargs ) found = self . _hash . get_node ( key ) if not found and len ( self . _down_connections ) > 0 : raise self . HostListExhausted ( ) return [ i for i , h in self . cluster . hosts . iteritems ( ) if h . identifier == found ]