예제 #1
0
 def get(self, job_id):
     """
     # 查询这个job 的运行信息
     Retrieve info about a running query job.
     """
     job = QueryTask(job_id=job_id)
     return {'job': job.to_dict()}
예제 #2
0
 def get(self, job_id):
     """
     Retrieve info about a running query job.
     """
     #print("@# JobResource ...",job_id)
     job = QueryTask(job_id=job_id)
     return {'job': job.to_dict()}
예제 #3
0
 def get(self, job_id):
     # TODO: if finished, include the query result
     job = QueryTask(job_id=job_id)
     return {'job': job.to_dict()}
예제 #4
0
 def get(self, job_id):
     """
     Retrieve info about a running query job.
     """
     job = QueryTask(job_id=job_id)
     return {'job': job.to_dict()}
예제 #5
0
 def get(self, job_id):
     job = QueryTask(job_id=job_id)
     return {'job': job.to_dict()}
예제 #6
0
 def get(self, job_id):
     # TODO: if finished, include the query result
     job = QueryTask(job_id=job_id)
     return {'job': job.to_dict()}
예제 #7
0
def get_job(job_id):
    """
    Retrieve info about a running query job.
    """
    job = QueryTask(job_id=job_id)
    return json_response({'job': job.to_dict()})
예제 #8
0
 def get(self, job_id, query_id=None):
     """
     Retrieve info about a running query job.
     """
     job = QueryTask(job_id=job_id)
     return {'job': job.to_dict()}