code: def handle_incoming_message(self, msg):
          
          if msg.type == MessageType.START_JOB:
              job = msg.message['job']
              self.schedule_job(job)
          elif msg.type == MessageType.CANCEL_JOB:
              job_id = msg.message['job_id']
              self.cancel(job_id)
docs: Start or cancel a job, based on the msg.
  
          If msg.type == MessageType.START_JOB, then start the job given by msg.job.
  
          If msg.type == MessageType.CANCEL_JOB, then try to cancel the job given by msg.job.job_id.
  
          Args:
              msg (barbequeue.messaging.classes.Message):
  
          Returns: None