You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/10/07 00:32:52 UTC
[GitHub] [airflow] uranusjr commented on a change in pull request #18786: Docs: Move part of timetable guide to concepts
uranusjr commented on a change in pull request #18786:
URL: https://github.com/apache/airflow/pull/18786#discussion_r723768339
##########
File path: docs/apache-airflow/dag-run.rst
##########
@@ -22,7 +22,8 @@ A DAG Run is an object representing an instantiation of the DAG in time.
Each DAG may or may not have a schedule, which informs how DAG Runs are
created. ``schedule_interval`` is defined as a DAG argument, which can be passed a
`cron expression <https://en.wikipedia.org/wiki/Cron#CRON_expression>`_ as
-a ``str``, a ``datetime.timedelta`` object, or one of the following cron "presets".
+a ``str``, a ``datetime.timedelta`` object, a ``Timetable`` object,
+or one of the following cron "presets".
Review comment:
`schedule_interval` only accepts `str` (cron expression), `timedelta`, and `None`. A timetable object needs to be passed to the `timetable` argument instead.
--
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-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org