potiuk commented on issue #15649:
URL: https://github.com/apache/airflow/issues/15649#issuecomment-849548067


   Are you running the "get_pandas_df" at the top-level of your DAG file? if 
so, then yes - scheduler will try to execute it while parsing the DAG. DAG is 
"imported" and "executed" by the scheduler regularly. All the processing should 
happen in the operator's "execute()'' methods (either operators you use or the 
custom operators you write).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to