class_docstr: A class representing an H2O Job.
class_docstr_tok: ["A","class","representing","an","H2O","Job","."]
code: def cancel(self):
      h2o.api("POST /3/Jobs/%s/cancel" % self.job_key)
      self.status = "CANCELLED"
  
file_path: h2o-3/h2o-py/h2o/job.py
imports: import functools
  import warnings
  import time
  import h2o
  from h2o.exceptions import H2OJobCancelled, H2OConnectionError, H2OResponseError, H2OServerError
  from h2o.utils.progressbar import ProgressBar, PBWString, PBWBar, PBWPercentage
  from h2o.utils.shared_utils import clamp
label_desc: Use image node_id 4 for calling the H2OJob obj's underlying member method code with example usage: obj.cancel() without return types