Skip to content

Commit

Permalink
Clarifying how to set the schedule_interval in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Aug 7, 2015
1 parent 073e5d8 commit f231170
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 594 deletions.
4 changes: 1 addition & 3 deletions airflow/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,8 +1053,6 @@ class derived from this one results in the creation of a task object,
:type start_date: datetime
:param end_date: if specified, the scheduler won't go beyond this date
:type end_date: datetime
:param schedule_interval: interval at which to schedule the task
:type schedule_interval: timedelta
:param depends_on_past: when set to true, task instances will run
sequentially while relying on the previous task's schedule to
succeed. The task instance for the start_date is allowed to run.
Expand Down Expand Up @@ -1126,7 +1124,7 @@ def __init__(
retry_delay=timedelta(seconds=300),
start_date=None,
end_date=None,
schedule_interval=timedelta(days=1),
schedule_interval=timedelta(days=1), # not hooked as of now
depends_on_past=False,
wait_for_downstream=False,
dag=None,
Expand Down
Loading

0 comments on commit f231170

Please sign in to comment.