

def stack_call(self, *args):
    'Stacks a redis command inside the object.\n\n        The syntax is the same than the call() method a Client class.\n\n        Args:\n            *args: full redis command as variable length argument list.\n\n        Examples:\n            >>> pipeline = Pipeline()\n            >>> pipeline.stack_call("HSET", "key", "field", "value")\n            >>> pipeline.stack_call("PING")\n            >>> pipeline.stack_call("INCR", "key2")\n        '
    self.pipelined_args.append(args)
    self.number_of_stacked_calls = (self.number_of_stacked_calls + 1)

dataset/ETHPy150Open thefab/tornadis/tornadis/pipeline.py Pipeline.stack_call/original