arnoldmr01 commented on code in PR #60407:
URL: https://github.com/apache/airflow/pull/60407#discussion_r2696032796
##########
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:
So far, note information can be passed via UI and API, but
TriggerDagRunOperator doesn't allow to pass note information. I put this part
here in order to store the note information.
--
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]