jason810496 commented on code in PR #52325: URL: https://github.com/apache/airflow/pull/52325#discussion_r2313723826
########## providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_pod.py: ########## @@ -55,9 +55,9 @@ from airflow.utils.types import DagRunType from tests_common.test_utils import db -from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS +from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS, AIRFLOW_V_3_1_PLUS -if AIRFLOW_V_3_0_PLUS: +if AIRFLOW_V_3_0_PLUS or AIRFLOW_V_3_1_PLUS: Review Comment: ~If I don't get it wrong, we only need add compatible if/else for `XComModel.get_many` usage, and the rest of the setup will still be the same for both `AIRFLOW_V_3_0_PLUS` and `AIRFLOW_V_3_1_PLUS` .~ Sorry, I got the point, the `AIRFLOW_V_3_1_PLUS` usage here is good. -- 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]
