Dev-iL commented on issue #43176:
URL: https://github.com/apache/airflow/issues/43176#issuecomment-2667878168

   Some ideas from [this blog 
post](https://medium.com/apache-airflow/mastering-airflow-dag-standardization-with-pythons-ast-a-deep-dive-into-linting-at-scale-1396771a9b90):
   - The DAG must not have top-level calls to expensive classes/services.
   - The DAG object should be instantiated using a context manager.
   - The DAG file name should match its `dag_id`.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to