Skip to content

Commit

Permalink
fixup! fixup! fixup! Update base_executor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxil committed Jul 6, 2020
1 parent 9e5a4b6 commit 694a6e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions airflow/models/taskinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
from airflow.settings import STORE_SERIALIZED_DAGS
from airflow.stats import Stats
from airflow.ti_deps.dep_context import DepContext
from airflow.ti_deps.dependencies_deps import REQUEUEABLE_DEPS, RUNNING_DEPS
from airflow.utils import timezone
from airflow.utils.email import send_email
from airflow.utils.helpers import is_container
Expand Down Expand Up @@ -883,8 +884,6 @@ def check_and_change_state_before_execution( # pylint: disable=too-many-argum
:return: whether the state was changed to running or not
:rtype: bool
"""
# Avoid Circular dependency
from airflow.ti_deps.dependencies_deps import REQUEUEABLE_DEPS, RUNNING_DEPS

task = self.task
self.refresh_from_task(task, pool_override=pool)
Expand Down

0 comments on commit 694a6e3

Please sign in to comment.