"# airflow" in the first line of DAG

Is there any significance of adding “# airflow” as the first line in airflow dag, as python will treat it as comment. But we have seen some parsing improvement after adding this.
Can anyone please suggest on what it does and how !!

Hello @pushpendu91

Airflow looks for no such comment in the DAG file which can improve the parse time. Could be possible that the improvement could be a result of tweaking the Scheduler settings as described here.

Would you be able to elaborate how did you measure the improvement in DAG parse time?

Thanks
Manmeet