This is an automated email from the ASF dual-hosted git repository.
uranusjr 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 d1b7bca6a3 Avoid top-level airflow import to avoid circular dependency
(#34586)
d1b7bca6a3 is described below
commit d1b7bca6a36c146119fb5746019116c4d1e15275
Author: Hussein Awala <[email protected]>
AuthorDate: Mon Sep 25 12:52:50 2023 +0200
Avoid top-level airflow import to avoid circular dependency (#34586)
---
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 37a8563431..d3ec556f05 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 (