uranusjr commented on code in PR #39165:
URL: https://github.com/apache/airflow/pull/39165#discussion_r1588651851
##########
airflow/api/common/trigger_dag.py:
##########
@@ -104,6 +107,7 @@ def _trigger_dag(
def trigger_dag(
dag_id: str,
+ triggered_by: DagRunTriggeredByType,
Review Comment:
This should probably be a keyword-only argument instead. Sticking a
positional parameter in the middle is too easy to get wrong. Same applies for
other functions that add this argument.
--
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]