original_docstring: Submit a task for processing.
  
          :param task_name: Name of the task to submit for processing
          :type message: dict
          :param parameters: Parameters to pass to the task
          
docstring: Submit a task for processing.
docstring_tokens: Submit a task for processing .
code: def submit(self, task_name, *parameters):
          """Submit a task for processing.
  
          :param task_name: Name of the task to submit for processing
          :type message: dict
          :param parameters: Parameters to pass to the task
          """
          payload = {
              'task': task_name,
              'parameters': parameters
          }
          response = self.queue.send_message(MessageBody=json.dumps(payload))
          if response.get('MessageId') is None:
              self.log.exception('{{Queue {0}}} Error submitting task {0}'.format(self.queue_name, task_name))
code_tokens: def submit ( self , task_name , * parameters ) : payload = { 'task' : task_name , 'parameters' : parameters } response = self . queue . send_message ( MessageBody = json . dumps ( payload ) ) if response . get ( 'MessageId' ) is None : self . log . exception ( '{{Queue {0}}} Error submitting task {0}' . format ( self . queue_name , task_name ) )
short_docstring: Submit a task for processing.
short_docstring_tokens: Submit a task for processing .
comment: """Submit a task for processing.
  
          :param task_name: Name of the task to submit for processing
          :type message: dict
          :param parameters: Parameters to pass to the task
          """