Skip to content

Commit

Permalink
Skip all downstream tasks when using SkipMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
thoag-godaddy committed Sep 15, 2017
1 parent 6632b0c commit 9ba1190
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airflow/models.py
Expand Up @@ -1939,6 +1939,9 @@ def skip(self, dag_run, execution_date, tasks):
session.commit()
session.close()

for task in tasks:
self.skip(dag_run, execution_date, task.downstream_list)


@functools.total_ordering
class BaseOperator(LoggingMixin):
Expand Down

0 comments on commit 9ba1190

Please sign in to comment.