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_r385657973
 
 

 ##########
 File path: airflow/api/common/experimental/mark_tasks.py
 ##########
 @@ -187,7 +188,7 @@ def get_subdag_runs(dag, session, state, task_ids, commit, 
confirmed_dates):
                 dag_runs = _create_dagruns(current_task.subdag,
                                            execution_dates=confirmed_dates,
                                            state=State.RUNNING,
-                                           
run_id_template=BackfillJob.ID_FORMAT_PREFIX)
+                                           
run_id_template=DagRunType.BACKFILL_JOB.value + "{}")
 
 Review comment:
   Can this method create this template by itself?  It seems to me that this 
template does not change and it will always be {DagRunType}__{execution_date}

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