vincbeck commented on code in PR #70312:
URL: https://github.com/apache/airflow/pull/70312#discussion_r3658799687
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_run.py:
##########
@@ -141,6 +141,7 @@ def get_dag_run(dag_id: str, dag_run_id: str, session:
SessionDep) -> DAGRunResp
status.HTTP_404_NOT_FOUND,
f"The DagRun with dag_id: `{dag_id}` and run_id: `{dag_run_id}`
was not found",
)
+ attach_team_names([dag_run], session=session)
Review Comment:
The tradeoff with this is single-team deployments now pay for the
bundle+teams eager-load on this endpoint. Are we okay with 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]