Lee-W commented on code in PR #38912:
URL: https://github.com/apache/airflow/pull/38912#discussion_r1565286434
##########
airflow/providers/google/cloud/hooks/bigquery.py:
##########
@@ -3389,6 +3389,31 @@ async def create_job_for_partition_get(
job_query_resp = await job_client.query(query_request,
cast(Session, session))
return job_query_resp["jobReference"]["jobId"]
+ async def cancel_job(self, job_id: str, project_id: str | None, location:
str | None) -> None:
+ """
+ Asynchronously cancel a BigQuery job.
Review Comment:
```suggestion
Cancel a BigQuery job.
```
I think the `async` keyword along is sufficient
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]