You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Lee-W (via GitHub)" <gi...@apache.org> on 2023/09/27 10:08:36 UTC
[GitHub] [airflow] Lee-W commented on a diff in pull request #34629: Use `airflow.models.dag.DAG` in core tests
Lee-W commented on code in PR #34629:
URL: https://github.com/apache/airflow/pull/34629#discussion_r1338377995
##########
tests/operators/test_python.py:
##########
@@ -59,6 +59,10 @@
from tests.test_utils import AIRFLOW_MAIN_FOLDER
from tests.test_utils.db import clear_db_runs
+if TYPE_CHECKING:
+ from airflow.models.dagrun import DagRun
+
+TI = TaskInstance
Review Comment:
Should we unify how `TaskInstance` is referenced in this test?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org