Пример #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()}