You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2021/11/05 23:24:54 UTC
[airflow] 02/06: Add missing parameter documentation for
"timetable" (#19282)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 75f1d2aef94050d25f8a6921cacc0369773ad63f
Author: Malthe Borch <mb...@gmail.com>
AuthorDate: Sat Oct 30 06:51:57 2021 +0200
Add missing parameter documentation for "timetable" (#19282)
(cherry picked from commit dff307473d0f52a01652b8a7e59fd74e1b842ced)
---
airflow/models/dag.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/airflow/models/dag.py b/airflow/models/dag.py
index d8fa1d0..d1c947f 100644
--- a/airflow/models/dag.py
+++ b/airflow/models/dag.py
@@ -198,6 +198,9 @@ class DAG(LoggingMixin):
:type schedule_interval: datetime.timedelta or
dateutil.relativedelta.relativedelta or str that acts as a cron
expression
+ :param timetable: Specify which timetable to use (in which case schedule_interval
+ must not be set). See :doc:`/howto/timetable` for more information
+ :type timetable: airflow.timetables.base.Timetable
:param start_date: The timestamp from which the scheduler will
attempt to backfill
:type start_date: datetime.datetime