molcay commented on code in PR #51738:
URL: https://github.com/apache/airflow/pull/51738#discussion_r2152430330
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/dag_run.py:
##########
@@ -74,6 +74,7 @@ class DAGRunResponse(BaseModel):
run_type: DagRunType
state: DagRunState
triggered_by: DagRunTriggeredByType | None
+ triggering_user: str | None
Review Comment:
Hi, I was the one who added the `triggered_by` field (1 year ago). At that
time I was not aware/expect that we will add a user relation here. But now,
when I see this PR; I wish I selected a different name 😅
Maybe we can rename the `triggered_by` field as `triggered_with` (or
`trigger_source`) and use `triggered_by` as a user reference. Ofc, if the other
reviewers think the same
--
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]