This is an automated email from the ASF dual-hosted git repository.

dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9a643363e9 Avoid circular import from S3HookUriParseFailure (#28908)
9a643363e9 is described below

commit 9a643363e982b7c37d3c7f9015cd7869bc2935c2
Author: Daniel Standish <[email protected]>
AuthorDate: Thu Jan 12 20:01:00 2023 -0800

    Avoid circular import from S3HookUriParseFailure (#28908)
    
    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 02bb5aa5bf..89755d91f2 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

Reply via email to