mik-laj commented on a change in pull request #7583: [AIRFLOW-6954] Use 
DagRunType instead of ID_PREFIX in run_id
URL: https://github.com/apache/airflow/pull/7583#discussion_r386293634
 
 

 ##########
 File path: airflow/api/common/experimental/mark_tasks.py
 ##########
 @@ -22,23 +22,24 @@
 
 from sqlalchemy import or_
 
-from airflow.jobs.backfill_job import BackfillJob
-from airflow.models import DagRun, TaskInstance
 from airflow.models.baseoperator import BaseOperator
+from airflow.models.dagrun import DagRun
+from airflow.models.taskinstance import TaskInstance
 from airflow.operators.subdag_operator import SubDagOperator
 from airflow.utils import timezone
 from airflow.utils.session import provide_session
 from airflow.utils.state import State
+from airflow.utils.types import DagRunType
 
 
-def _create_dagruns(dag, execution_dates, state, run_id_template):
+def _create_dagruns(dag, execution_dates, state, run_id_prefix):
 
 Review comment:
   ```suggestion
   def _create_dagruns(dag, execution_dates, state, run_type):
   ```

----------------------------------------------------------------
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

Reply via email to