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

 ##########
 File path: airflow/models/dagrun.py
 ##########
 @@ -31,21 +31,26 @@
 from airflow.ti_deps.dep_context import DepContext
 from airflow.ti_deps.dependencies import SCHEDULEABLE_STATES
 from airflow.utils import timezone
-from airflow.utils.jobs_helpers import BACKFILL_JOB_PREFIX
 from airflow.utils.log.logging_mixin import LoggingMixin
 from airflow.utils.session import provide_session
 from airflow.utils.sqlalchemy import UtcDateTime
 from airflow.utils.state import State
 
 
+class DagRunType:
+    """Class with DagRun types"""
+    BACKFILL_JOB = "backfill_"
+    SCHEDULED = "scheduled__"
 
 Review comment:
   I would prefer to do this in separate PR. When I remove the last fixup 
everything works and all we need is place for one constant, that should be 
fixed as JIRA describes... 

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