Skip to content

Commit

Permalink
[AIRFLOW-4860] Remove Redundant Information in Example Dags (apache#5497
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 577a728)
  • Loading branch information
kaxil committed Jun 28, 2019
1 parent 3355ad9 commit 48b0afd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions airflow/example_dags/example_subdag_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,28 @@

start = DummyOperator(
task_id='start',
default_args=args,
dag=dag,
)

section_1 = SubDagOperator(
task_id='section-1',
subdag=subdag(DAG_NAME, 'section-1', args),
default_args=args,
dag=dag,
)

some_other_task = DummyOperator(
task_id='some-other-task',
default_args=args,
dag=dag,
)

section_2 = SubDagOperator(
task_id='section-2',
subdag=subdag(DAG_NAME, 'section-2', args),
default_args=args,
dag=dag,
)

end = DummyOperator(
task_id='end',
default_args=args,
dag=dag,
)

Expand Down

0 comments on commit 48b0afd

Please sign in to comment.