Ejemplo n.º 1
0
 def delete(self, job_id):
     """
     Cancel a query job in progress.
     """
     job = Job.fetch(job_id)
     job.cancel()
Ejemplo n.º 2
0
 def get(self, job_id, query_id=None):
     """
     Retrieve info about a running query job.
     """
     job = Job.fetch(job_id)
     return serialize_job(job)