h2o-py/h2o/backend/cluster.py
def list_jobs(self):
        """List all jobs performed by the cluster."""
        res = h2o.api("GET /3/Jobs")
        table = [["type"], ["dest"], ["description"], ["status"]]
        for job in res["jobs"]:
            job_dest = job["dest"]
            table[0].append(self._translate_job_type(job_dest["type"]))
            table[1].append(job_dest["name"])
            table[2].append(job["description"])
            table[3].append(job["status"])
        return table
def list_jobs(self):
        res = h2o.api("GET /3/Jobs")
        table = [["type"], ["dest"], ["description"], ["status"]]
        for job in res["jobs"]:
            job_dest = job["dest"]
            table[0].append(self._translate_job_type(job_dest["type"]))
            table[1].append(job_dest["name"])
            table[2].append(job["description"])
            table[3].append(job["status"])
        return table
def list_jobs ( self ) : res = h2o . api ( "GET /3/Jobs" ) table = [ [ "type" ] , [ "dest" ] , [ "description" ] , [ "status" ] ] for job in res [ "jobs" ] : job_dest = job [ "dest" ] table [ 0 ] . append ( self . _translate_job_type ( job_dest [ "type" ] ) ) table [ 1 ] . append ( job_dest [ "name" ] ) table [ 2 ] . append ( job [ "description" ] ) table [ 3 ] . append ( job [ "status" ] ) return table
List all jobs performed by the cluster.
List all jobs performed by the cluster .