From bdee85721e06dc25e1cee843cdf73c572fc6ee0b Mon Sep 17 00:00:00 2001 From: Michael Gerbig Date: Thu, 13 Apr 2023 10:31:06 +0200 Subject: [PATCH] docs: use correct import path for Dataset --- 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 8fbff61a836a2..605635a4e1d08 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")