code: def commit(self, raise_on_error=True):
          '''Send commands to redis.
          '''
          cmds = list(chain([(('multi',), {})],
                            self.command_stack, [(('exec',), {})]))
          self.reset()
          return self.store.execute_pipeline(cmds, raise_on_errorf commit(self, raise_on_error=True):
          '''Send commands to redis.
          '''
          cmds = list(chain([(('multi',), {})],
                            self.command_stack, [(('exec',), {})]))
          self.reset()
          return self.store.execute_pipeline(cmds, raise_on_error)
docs: Send commands to redis.