uranusjr commented on code in PR #55110:
URL: https://github.com/apache/airflow/pull/55110#discussion_r2430919850
##########
providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py:
##########
@@ -86,6 +89,11 @@
from google.api_core.retry import Retry
from requests import Session
+ if AIRFLOW_V_3_0_PLUS:
+ from airflow.sdk.definitions.context import Context
+ else:
+ from airflow.utils.context import Context
Review Comment:
This is not needed. The type-checking block can always import from
`airflow.sdk`.
```suggestion
from airflow.sdk import Context
```
--
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]