nuclearpinguin commented on a change in pull request #7482: [AIRFLOW-6863] Make
airflow/task and airflow/ti_deps pylint compatible
URL: https://github.com/apache/airflow/pull/7482#discussion_r382462399
##########
File path: airflow/ti_deps/deps/base_ti_dep.py
##########
@@ -86,9 +87,6 @@ def get_dep_statuses(self, ti, session, dep_context=None):
:param dep_context: the context for which this dependency should be
evaluated for
:type dep_context: DepContext
"""
- # this avoids a circular dependency
- from airflow.ti_deps.dep_context import DepContext
Review comment:
Yes, we had cyclic import...
`Cyclic import (airflow.ti_deps.dep_context ->
airflow.ti_deps.deps.dag_unpaused_dep -> airflow.ti_deps.deps.base_ti_dep)
(cyclic-import)`
----------------------------------------------------------------
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