potiuk commented on code in PR #30180:
URL: https://github.com/apache/airflow/pull/30180#discussion_r1141161180


##########
airflow/models/xcom.py:
##########
@@ -57,14 +57,13 @@
 from airflow.utils.log.logging_mixin import LoggingMixin
 from airflow.utils.session import NEW_SESSION, provide_session
 from airflow.utils.sqlalchemy import UtcDateTime
+from airflow.utils.xcom import (
+    MAX_XCOM_SIZE,  # noqa: F401 (#30180 - leaving it for providers backward 
compatibility)
+    XCOM_RETURN_KEY,
+)

Review Comment:
   Figure out a way. 
   
   For exampele import the new constants in the old place and mark it with 
comments to remove it when min-airflow-version is 2.6.
   
   The test is right (and was specifically designed to inform and prevent you 
from ignoribng the fact that new providers can be used with old airflow (and 
old providers with new airflow).  
   



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