This is an automated email from the ASF dual-hosted git repository.
potiuk 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 a984d973aa Fix import statement for DatasetOrTimetable example (#40601)
a984d973aa is described below
commit a984d973aa94df9c39e423bc65da382089bd5319
Author: steffidlf <[email protected]>
AuthorDate: Thu Jul 4 15:11:03 2024 +0200
Fix import statement for DatasetOrTimetable example (#40601)
Fix import statement for DatasetOrTimetable example
---
docs/apache-airflow/authoring-and-scheduling/timetable.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/apache-airflow/authoring-and-scheduling/timetable.rst
b/docs/apache-airflow/authoring-and-scheduling/timetable.rst
index 9ca7d436db..d9b47dd9c4 100644
--- a/docs/apache-airflow/authoring-and-scheduling/timetable.rst
+++ b/docs/apache-airflow/authoring-and-scheduling/timetable.rst
@@ -190,7 +190,7 @@ Here's an example of a DAG using ``DatasetOrTimeSchedule``:
.. code-block:: python
- from airflow.timetables import DatasetOrTimeSchedule
+ from airflow.timetables.datasets import DatasetOrTimeSchedule
from airflow.timetables.trigger import CronTriggerTimetable