From 8d114fc212a7befc419d95197a35f80ba03662b7 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Fri, 31 Dec 2021 17:40:04 +0000 Subject: [PATCH] Fix MyPy issues in ``airflow/jobs`` (#20612) Part of https://github.com/apache/airflow/issues/19891 GitOrigin-RevId: 2d092021d7749e985062fb94f90c5a6415022d62 --- airflow/jobs/base_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/jobs/base_job.py b/airflow/jobs/base_job.py index 46ccacbf04a..6bbac2f504b 100644 --- a/airflow/jobs/base_job.py +++ b/airflow/jobs/base_job.py @@ -29,8 +29,8 @@ from airflow.configuration import conf from airflow.exceptions import AirflowException from airflow.executors.executor_loader import ExecutorLoader -from airflow.models import DagRun from airflow.models.base import ID_LEN, Base +from airflow.models.dagrun import DagRun from airflow.models.taskinstance import TaskInstance from airflow.stats import Stats from airflow.utils import timezone