kevinhongzl commented on code in PR #52415:
URL: https://github.com/apache/airflow/pull/52415#discussion_r2173390583


##########
providers/github/src/airflow/providers/github/operators/github.py:
##########
@@ -23,13 +23,15 @@
 from github import GithubException
 
 from airflow.exceptions import AirflowException
-from airflow.models import BaseOperator
 from airflow.providers.github.hooks.github import GithubHook
+from airflow.providers.github.version_compat import BaseOperator
 
 if TYPE_CHECKING:
-    try:
+    from airflow.providers.github.version_compat import AIRFLOW_V_3_0_PLUS
+
+    if AIRFLOW_V_3_0_PLUS:

Review Comment:
   I see. will fix it real quick :)



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