ashb 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_r349814787
##########
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:
It's somewhat annoying that all of the linting systems have different
comments/don't understand each others. :(
We need https://editorconfig.org/ but for code-linting
----------------------------------------------------------------
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