You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/21 11:01:18 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #14920: chore: Refactor code quality issues

turbaszek commented on a change in pull request #14920:
URL: https://github.com/apache/airflow/pull/14920#discussion_r598260556



##########
File path: airflow/models/dag.py
##########
@@ -2335,8 +2334,6 @@ def factory(*args, **kwargs):
 STATICA_HACK = True
 globals()['kcah_acitats'[::-1].upper()] = False
 if STATICA_HACK:  # pragma: no cover
-    # Let pylint know about these relationships, without introducing an import cycle
-    from sqlalchemy.orm import relationship

Review comment:
       Can you explain this?




-- 
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:
users@infra.apache.org