kaxil 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_r348518234
##########
File path: airflow/utils/db.py
##########
@@ -336,6 +336,8 @@ def resetdb():
Clear out the database
"""
from airflow import models
+ # noinspection PyUnresolvedReferences
+ from airflow.models.serialized_dag import SerializedDagModel # noqa: F401
isort # isort:skip
Review comment:
Should we just sort it? Do we want to import anything in
`airflow.models.serialized_dag` when store_serialized_dag=False ?
----------------------------------------------------------------
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