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_r349808012
##########
File path: airflow/utils/db.py
##########
@@ -336,8 +336,12 @@ def resetdb():
Clear out the database
"""
from airflow import models
+ # We need to add this model manually to get reset working well
+ # noinspection PyUnresolvedReferences
+ from airflow.models.serialized_dag import SerializedDagModel # noqa: F401
Review comment:
I don't feel too good about adding this here but if this is the only way
then so be it
----------------------------------------------------------------
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