amoghrajesh commented on code in PR #59833:
URL: https://github.com/apache/airflow/pull/59833#discussion_r2650256979


##########
devel-common/src/tests_common/test_utils/compat.py:
##########
@@ -52,6 +52,14 @@
     DagSerialization = SerializedDAG  # type: ignore[assignment,misc,no-redef]
     OperatorSerialization = SerializedBaseOperator  # type: 
ignore[assignment,misc,no-redef]
 
+try:
+    from airflow.serialization.serialized_objects import 
create_scheduler_operator
+except ImportError:
+    # Compatibility for older Airflow versions that don't have 
create_scheduler_operator

Review Comment:
   I think that was 3.1? Can we mention the version too please?



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