ashb commented on code in PR #54505: URL: https://github.com/apache/airflow/pull/54505#discussion_r2559479441
########## providers/standard/src/airflow/providers/standard/example_dags/example_bash_decorator.py: ########## @@ -19,12 +19,16 @@ import pendulum -from airflow.exceptions import AirflowSkipException from airflow.providers.common.compat.sdk import TriggerRule from airflow.providers.standard.operators.empty import EmptyOperator from airflow.providers.standard.utils.weekday import WeekDay from airflow.sdk import chain, dag, task +try: + from airflow.sdk.exceptions import AirflowSkipException +except ImportError: + from airflow.exceptions import AirflowSkipException # type: ignore[no-redef,attr-defined] Review Comment: Is this example dag run on older Airflow versions too? I thought we mostly only needed to care about "current" version in example dags? -- 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]
