Skip to content

Commit

Permalink
Merge pull request #1316 from r39132/master
Browse files Browse the repository at this point in the history
Fixing a broken example dag, example_skip_dag.py
  • Loading branch information
r39132 committed Apr 7, 2016
2 parents 4865ee6 + b5f8ab5 commit 626c36b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions airflow/example_dags/example_skip_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ def create_test_pipeline(suffix, trigger_rule, dag):

join = DummyOperator(task_id=trigger_rule, dag=dag, trigger_rule=trigger_rule)


op = MyEmrOperator(task_id='my_task_id', dag=dag,
template='my_jinja_template.conf',
params={ 'param1': '{{ ti.xcom_pull(...) }}' }
)

join.set_upstream(skip_operator)
join.set_upstream(always_true)

Expand Down
2 changes: 1 addition & 1 deletion tests/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

import six

NUM_EXAMPLE_DAGS = 14
NUM_EXAMPLE_DAGS = 15
DEV_NULL = '/dev/null'
TEST_DAG_FOLDER = os.path.join(
os.path.dirname(os.path.realpath(__file__)), 'dags')
Expand Down

0 comments on commit 626c36b

Please sign in to comment.