This is an automated email from the ASF dual-hosted git repository.
eladkal 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 90e66e2b5d docs: use correct import path for Dataset (#30617)
90e66e2b5d is described below
commit 90e66e2b5dc0891384c69f30dfde9692a9cd1d56
Author: Michael Gerbig <[email protected]>
AuthorDate: Thu Apr 13 15:56:51 2023 +0200
docs: use correct import path for Dataset (#30617)
---
docs/apache-airflow/authoring-and-scheduling/datasets.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/apache-airflow/authoring-and-scheduling/datasets.rst
b/docs/apache-airflow/authoring-and-scheduling/datasets.rst
index 8fbff61a83..605635a4e1 100644
--- a/docs/apache-airflow/authoring-and-scheduling/datasets.rst
+++ b/docs/apache-airflow/authoring-and-scheduling/datasets.rst
@@ -27,7 +27,7 @@ In addition to scheduling DAGs based upon time, they can also
be scheduled based
.. code-block:: python
- from airflow import Dataset
+ from airflow.datasets import Dataset
with DAG(...):
MyOperator(
@@ -57,7 +57,7 @@ A dataset is defined by a Uniform Resource Identifier (URI):
.. code-block:: python
- from airflow import Dataset
+ from airflow.datasets import Dataset
example_dataset = Dataset("s3://dataset-bucket/example.csv")