potiuk commented on a change in pull request #6601: [AIRFLOW-6010] Remove
cyclic imports and pylint disables
URL: https://github.com/apache/airflow/pull/6601#discussion_r348457341
##########
File path: airflow/models/serialized_dag.py
##########
@@ -57,6 +53,7 @@ class SerializedDagModel(Base):
Because reading from database is lightweight compared to importing from
files,
it solves the webserver scalability issue.
"""
+ from airflow import DAG
Review comment:
Yep. After I split it into 3 classes I got it back at the top level.
----------------------------------------------------------------
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]
With regards,
Apache Git Services