pierrejeambrun commented on code in PR #60407:
URL: https://github.com/apache/airflow/pull/60407#discussion_r2689667363


##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -313,6 +318,10 @@ def _trigger_dag_af_2(self, context, run_id, 
parsed_logical_date):
             raise RuntimeError("The dag_run should be set here!")
         # Store the run id from the dag run (either created or found above) to
         # be used when creating the extra link on the webserver.
+        if self.note:
+            dag_run = session.merge(dag_run)
+            dag_run.note = self.note
+            session.flush()

Review Comment:
   Why is that on the `_trigger_dag_af_2` ? TriggerDagRunOperator note will not 
be handled anyway, do we need 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to