def __call__(self, keys=[], args=[], client=None):
        """
        Call the script with the provided keys and arguments.

        :param keys: A list of the keys the script is to act upon.
        :param args: A list of arguments (besides keys) to pass to the
                     script.
        :param client: An alternate client to use for executing the
                       script.

        :returns: The results of calling the script on the server.
        """

        client = client or self.registered_client
        args = tuple(keys) + tuple(args)

        # Call the script
        return client.eval(self.script, len(keys), *args)
def __call__ ( self , keys = [ ] , args = [ ] , client = None ) : client = client or self . registered_client args = tuple ( keys ) + tuple ( args ) return client . eval ( self . script , len ( keys ) , * args )
Call the script with the provided keys and arguments.

        :param keys: A list of the keys the script is to act upon.
        :param args: A list of arguments (besides keys) to pass to the
                     script.
        :param client: An alternate client to use for executing the
                       script.

        :returns: The results of calling the script on the server.