code: def mark_job_as_completed(job_id, data=None):
      
      update_dict = {
          "status": "complete",
          "data": json.dumps(data),
          "finished_timestamp": datetime.datetime.now(),
      }
      _update_job(job_id, update_dict)
docs: Mark a job as completed successfully.
  
      :param job_id: the job_id of the job to be updated
      :type job_id: unicode
  
      :param data: the output data returned by the job
      :type data: any JSON-serializable type (including None)