We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2df3c1 commit e7c54a2Copy full SHA for e7c54a2
airflow-core/src/airflow/exceptions.py
@@ -27,12 +27,7 @@
27
if TYPE_CHECKING:
28
from airflow.models import DagRun
29
30
-try:
31
- from airflow.sdk.exceptions import AirflowException
32
-except ModuleNotFoundError:
33
- # The shared libraries are unable to see the 'sdk' package, so redefine here
34
- class AirflowException(Exception): # type: ignore[no-redef]
35
- """Base class for all Airflow exceptions."""
+from airflow.sdk.exceptions import AirflowException
36
37
38
class TaskNotFound(AirflowException):
0 commit comments