sunank200 commented on code in PR #43902:
URL: https://github.com/apache/airflow/pull/43902#discussion_r1838378304


##########
providers/src/airflow/providers/google/cloud/log/stackdriver_task_handler.py:
##########
@@ -36,6 +36,8 @@
 from airflow.utils.log.trigger_handler import ctx_indiv_trigger
 from airflow.utils.types import NOTSET, ArgNotSet
 
+from tests_common.test_utils.compat import AIRFLOW_V_3_0_PLUS

Review Comment:
   I have changed it to: 
   ```
   AIRFLOW_VERSION = Version(airflow_version)
   AIRFLOW_V_3_0_PLUS = Version(AIRFLOW_VERSION.base_version) >= 
Version("3.0.0")
   ```



##########
providers/src/airflow/providers/google/cloud/sensors/gcs.py:
##########
@@ -42,6 +44,8 @@
     from google.api_core.retry import Retry
 
     from airflow.utils.context import Context
+AIRFLOW_VERSION = Version(airflow_version)
+AIRFLOW_V_3_0_PLUS = Version(AIRFLOW_VERSION.base_version) >= Version("3.0.0")

Review Comment:
   Changed it



-- 
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]

Reply via email to