(self, attr, args, kwargs, **fkwargs)
return [crc32(str(key)) % len(self.cluster)]
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)

        return [crc32(str(key)) % len(self.cluster)]
def _route ( self , attr , args , kwargs , * * fkwargs ) : key = get_key ( args , kwargs ) return [ crc32 ( str ( key ) ) % len ( self . cluster ) ]