You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by vi...@apache.org on 2023/09/25 20:50:07 UTC

[airflow] branch main updated: Ban import `Dataset` from `airflow` package in codebase (#34610)

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

vincbeck 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 2ba0fec827 Ban import `Dataset` from `airflow` package in codebase (#34610)
2ba0fec827 is described below

commit 2ba0fec827d8ff6884c9c9f0c242796a8ace29ff
Author: Andrey Anshin <An...@taragol.is>
AuthorDate: Tue Sep 26 00:50:01 2023 +0400

    Ban import `Dataset` from `airflow` package in codebase (#34610)
---
 pyproject.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index 14b56a21c5..b3029f033c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -148,6 +148,7 @@ combine-as-imports = true
 
 [tool.ruff.flake8-tidy-imports.banned-api]
 "airflow.AirflowException".msg = "Use airflow.exceptions.AirflowException instead."
+"airflow.Dataset".msg = "Use airflow.datasets.Dataset instead."
 
 [tool.coverage.run]
 branch = true