potiuk commented on a change in pull request #7484: [AIRFLOW-6864][depends on 
6863] Make airflow/jobs pylint compatible
URL: https://github.com/apache/airflow/pull/7484#discussion_r382928208
 
 

 ##########
 File path: airflow/models/sqla_models.py
 ##########
 @@ -0,0 +1,13 @@
+"""Load SQLAlchemy models during package initialization"""
+
+# pylint: disable=unused-import
+
+# Must be loaded after loading DAG model.
+# noinspection PyUnresolvedReferences
+from airflow.jobs.base_job import BaseJob  # isort # isort:skip
+# noinspection PyUnresolvedReferences
+from airflow.jobs.scheduler_job import SchedulerJob  # isort # isort:skip
+# noinspection PyUnresolvedReferences
+from airflow.jobs.backfill_job import BackfillJob  # isort # isort:skip
+# noinspection PyUnresolvedReferences
+from airflow.jobs.local_task_job import LocalTaskJob  # isort # isort:skip
 
 Review comment:
   The main problem is that resetdb() willl not drop the tables.

----------------------------------------------------------------
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

Reply via email to