You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/12/31 17:40:39 UTC

[airflow] branch main updated: Fix MyPy issues in ``airflow/jobs`` (#20612)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2d09202  Fix MyPy issues in ``airflow/jobs`` (#20612)
2d09202 is described below

commit 2d092021d7749e985062fb94f90c5a6415022d62
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Fri Dec 31 17:40:04 2021 +0000

    Fix MyPy issues in ``airflow/jobs`` (#20612)
    
    Part of https://github.com/apache/airflow/issues/19891
---
 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 46ccacb..6bbac2f 100644
--- a/airflow/jobs/base_job.py
+++ b/airflow/jobs/base_job.py
@@ -29,8 +29,8 @@ from airflow.compat.functools import cached_property
 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