o-nikolas commented on a change in pull request #19410:
URL: https://github.com/apache/airflow/pull/19410#discussion_r758635517
##########
File path: airflow/operators/trigger_dagrun.py
##########
@@ -156,6 +166,11 @@ def execute(self, context: Dict):
else:
raise e
+ # Store the execution date from the dag run (either created or found
above) to
+ # be used when creating the extra link on the webserver.
+ ti = context['task_instance']
+ ti.xcom_push(key=XCOM_EXECUTION_DATE_ISO,
value=dag_run.execution_date.isoformat())
Review comment:
Hey @ashb, Sure I can make this change, but I'm curious, why do you want
the run id pushed as well? Is there some other feature that depends on it? It
isn't required for this feature as far as I can tell.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]