Created
June 16, 2022 08:39
-
-
Save mesmacosta/7c18e0818fc0407cf19975a4f9cd71bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def execute(self, context: Any): | |
hook = BigQueryHook( | |
gcp_conn_id=self.gcp_conn_id, | |
delegate_to=self.delegate_to, | |
impersonation_chain=self.impersonation_chain, | |
) | |
self.hook = hook | |
job_id = self._job_id(context) | |
# ... code suppresed for readability | |
self.job_id = job.job_id | |
return job.job_id | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment