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 2023/01/05 19:06:44 UTC
[GitHub] [airflow] vincbeck commented on a diff in pull request #28693: AIP-44 Migrate DagModel.get_paused_dag_ids to Internal API
vincbeck commented on code in PR #28693:
URL: https://github.com/apache/airflow/pull/28693#discussion_r1062802930
##########
airflow/api_internal/endpoints/rpc_api_endpoint.py:
##########
@@ -24,6 +24,7 @@
from airflow.api_connexion.types import APIResponse
from airflow.dag_processing.processor import DagFileProcessor
+from airflow.models import DagModel
Review Comment:
When I do this, I got this error though: `ImportError: cannot import name 'DAG' from 'airflow.models.dag'`. Tests are failing because of that
--
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