Skip to content

Commit

Permalink
moved from dummy operator to empty operator (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed May 17, 2022
1 parent 9655db1 commit cffb036
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions airflow/include/exampledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ from datetime import datetime, timedelta
from airflow import DAG
from airflow.operators.bash import BashOperator
from airflow.operators.dummy import DummyOperator
from airflow.operators.empty import EmptyOperator
from airflow.operators.python import PythonOperator
Expand Down Expand Up @@ -45,9 +45,9 @@ with DAG(
# catchup=False # enable if you don't want historical dag runs to run
) as dag:
t0 = DummyOperator(task_id='start')
t0 = EmptyOperator(task_id='start')
t1 = DummyOperator(task_id='group_bash_tasks')
t1 = EmptyOperator(task_id='group_bash_tasks')
t2 = BashOperator(task_id='bash_print_date1', bash_command='sleep $[ ( $RANDOM % 30 ) + 1 ]s && date')
t3 = BashOperator(task_id='bash_print_date2', bash_command='sleep $[ ( $RANDOM % 30 ) + 1 ]s && date')
Expand Down

0 comments on commit cffb036

Please sign in to comment.