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_r349805433
 
 

 ##########
 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:
   Table would be created by Alembic not the Model even when using resetdb

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to