sunank200 commented on code in PR #37101: URL: https://github.com/apache/airflow/pull/37101#discussion_r1500225342
########## docs/apache-airflow/authoring-and-scheduling/timetable.rst: ########## @@ -212,9 +212,29 @@ Here's an example of a DAG using ``DatasetTimetable``: In this example, the DAG is scheduled to run every Wednesday at 01:00 UTC based on the ``CronTriggerTimetable``, and it is also triggered by updates to ``dag1_dataset``. -Future Enhancements -~~~~~~~~~~~~~~~~~~~ -Future iterations may introduce more complex combinations for scheduling (e.g., dataset1 OR dataset2 OR timetable), further enhancing the flexibility for scheduling DAGs in various scenarios. +Integrate conditional dataset with Time-Based Scheduling +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Combining conditional dataset expressions with time-based schedules enhances scheduling flexibility: + +.. code-block:: python + + from airflow.timetables import DatasetOrTimeSchedule + from airflow.timetables.trigger import CronTriggerTimetable + + with DAG( Review Comment: Changed it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org