code: def actions(self, req_action):
      
      if FLAGS.sc2_log_actions:
        for action in req_action.actions:
          sys.stderr.write(str(action))
          sys.stderr.flush()
  
      return self._client.send(action=req_action)
docs: Send a `sc_pb.RequestAction`, which may include multiple actions.