Airflow is a platform created by the community to programmatically author, schedule, and monitor workflows.
DAGPython class to create a Directed Acyclic Graph, a representation of the workflow.
start_dateenables you to run a task on a particular date.
Schedule_intervalis the interval in which each workflow is supposed to run.
'* * * * *'means the tasks need to run every minute. Don't scratch your brain over this syntax. You can play around with these using https://crontab.guru/.
Operatorsdefine the nodes of the DAG. Each operator is an independent task.
PythonOperatorwhich calls a python function
BashOperatorwhich runs a bash command
nseconds and schedules the task to be executed.