Skip to content

Instantly share code, notes, and snippets.

@nickefy
Created June 7, 2021 06:32
Show Gist options
  • Save nickefy/adc9544c9033e07b9ec63858af72785f to your computer and use it in GitHub Desktop.
Save nickefy/adc9544c9033e07b9ec63858af72785f to your computer and use it in GitHub Desktop.
sample DAG file for Airflow Framework
from airflow import DAG
from operators.create_dag_operator import CreateDagOperator
default_dag_args = {
'owner': 'airflow',
}
dag = CreateDagOperator.create_dag('Hello_world',default_dag_args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment