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

ephraimanierobi pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit b2bad04ba5f29819b26cccaffddb6e92fad2a570
Author: Hussein Awala <[email protected]>
AuthorDate: Mon Sep 25 12:52:50 2023 +0200

    Avoid top-level airflow import to avoid circular dependency (#34586)
    
    (cherry picked from commit d1b7bca6a36c146119fb5746019116c4d1e15275)
---
 airflow/decorators/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/decorators/base.py b/airflow/decorators/base.py
index 70608be3d1..7199f3da55 100644
--- a/airflow/decorators/base.py
+++ b/airflow/decorators/base.py
@@ -41,7 +41,7 @@ import attr
 import re2
 import typing_extensions
 
-from airflow import Dataset
+from airflow.datasets import Dataset
 from airflow.exceptions import AirflowException
 from airflow.models.abstractoperator import DEFAULT_RETRIES, 
DEFAULT_RETRY_DELAY
 from airflow.models.baseoperator import (

Reply via email to