Example #1
0
    def get_job(self, project, job_id, location=None):
        request = bigquery.BigqueryJobsGetRequest()
        request.jobId = job_id
        request.projectId = project
        request.location = location

        return self.client.jobs.Get(request)
 def get_job_status(self, project_id, job_id):
     request = bq.BigqueryJobsGetRequest(
         jobId=job_id, projectId=project_id)
     return self.client.jobs.Get(request)