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


##########
providers/amazon/tests/system/amazon/aws/example_appflow.py:
##########
@@ -29,6 +31,19 @@
 )
 from airflow.providers.standard.operators.bash import BashOperator
 
+if TYPE_CHECKING:
+    from airflow.models.baseoperator import chain
+    from airflow.models.dag import DAG
+else:
+    if packaging.version.parse(

Review Comment:
   This should likely be extracted out to `version_compat.py` that you should 
place in the `system.amazon` pacjage and imported as
   
   ```
   from system.amazon.version_compat import AIRFLOW_V_3_0_PLUS
   ```
   
   This is the convention we used in a number of places.



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to