Lohith625 commented on code in PR #56924:
URL: https://github.com/apache/airflow/pull/56924#discussion_r2633994149
##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -281,14 +308,33 @@ def _trigger_dag_af_3(self, context, run_id,
parsed_logical_date):
)
def _trigger_dag_af_2(self, context, run_id, parsed_logical_date):
+ if self.note:
+ self.log.info("Triggered DAG with note: %s", self.note)
Review Comment:
Thanks for the suggestion.
I tried switching the log message from DAG to Dag, but it caused test
failures since the existing expectations and surrounding log messages
consistently use the uppercase DAG.
To keep the behavior consistent and avoid changing established semantics, I
reverted it back to DAG.
If there’s a preferred convention I should follow here, I’m happy to adjust
accordingly
--
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]