def delete_job()

in python-batch/gke_batch/batch.py [0:0]


  def delete_job(self, job_name):
    namespace = get_setting("namespace", settings)
    try:
      api_response = self.batch_v1.delete_namespaced_job(job_name, namespace)
      print(api_response,file=sys.stderr)
    except ApiException as e:
      print("Exception when calling BatchV1Api->list_namespaced_job: %s\n" % e)