Guillermo Rodríguez Cano created AIRFLOW-2308:
-------------------------------------------------

             Summary: Method poll_job_complete in BigQueryBaseCursor class 
doesn't work outside its class
                 Key: AIRFLOW-2308
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2308
             Project: Apache Airflow
          Issue Type: Bug
          Components: contrib, gcp
            Reporter: Guillermo Rodríguez Cano


We have encountered an strange behavior in the aforementioned method 
`poll_job_complete` of the class `BigQueryBaseCursor` when we were create a 
sensor that should simply poll to check for the completion of a BigQuery job.

After creating a `BigQueryBaseCursor` object, when we call the method 
`poll_job_complete` on that object we get the following error: `AttributeError: 
‘BigQueryBaseCursor’ object has no attribute ‘poll_job_complete’`.
However, if we copy and paste the code contained in the  `poll_job_complete` 
function to our sensor, it works.

We are not sure what is the problem exactly or even why...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to