kaxil commented on code in PR #47339:
URL: https://github.com/apache/airflow/pull/47339#discussion_r1991197915
##########
providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_pod.py:
##########
@@ -57,6 +56,11 @@
from tests_common.test_utils import db
from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS
+if AIRFLOW_V_3_0_PLUS:
+ from airflow.sdk.execution_time.xcom import XCom
+else:
+ from airflow.models import XCom # type: ignore[no-redef]
Review Comment:
```suggestion
from airflow.models.xcom import XCom # type: ignore[no-redef]
```
--
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]