Commit cc606f56 authored by Aalekh Jain's avatar Aalekh Jain
Browse files

Added test dummy dag

parent 53428a69
Pipeline #54857 passed with stages
in 51 seconds
from airflow import DAG
from airflow.utils.dates import days_ago
from airflow.operators.dummy_operator import DummyOperator
default_args = {
'owner': 'airflow',
'depends_on_past': False,
'schedule_interval': None,
'start_date': days_ago(2),
'email': ['airflow@example.com'],
'email_on_failure': False,
'email_on_retry': False
}
dag = DAG('test_dummy_dag', schedule_interval=None, default_args=default_args)
# t1, t2, t3 and t4 are examples of tasks created using operators
dummy_task = DummyOperator(task_id='dummy', dag=dag)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment