From 99797176e88b6c8deb5f06b1cf643704ea1df0ec Mon Sep 17 00:00:00 2001 From: Daniel Standish <15932138+dstandish@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:36:09 -0800 Subject: [PATCH] Avoid circular import from S3HookUriParseFailure Otherwise, webserver fails to start when s3 configured. --- airflow/providers/amazon/aws/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/providers/amazon/aws/exceptions.py b/airflow/providers/amazon/aws/exceptions.py index 02bb5aa5bfb1c..89755d91f24d8 100644 --- a/airflow/providers/amazon/aws/exceptions.py +++ b/airflow/providers/amazon/aws/exceptions.py @@ -17,7 +17,7 @@ # under the License. from __future__ import annotations -from airflow import AirflowException +from airflow.exceptions import AirflowException # Note: Any AirflowException raised is expected to cause the TaskInstance # to be marked in an ERROR state