Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use correct import path for Dataset #30617

Merged
merged 1 commit into from
Apr 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/apache-airflow/authoring-and-scheduling/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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")

Expand Down