bugraoz93 commented on code in PR #63627:
URL: https://github.com/apache/airflow/pull/63627#discussion_r2936624866
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_run.py:
##########
@@ -387,7 +387,19 @@ def get_dag_runs(
This endpoint allows specifying `~` as the dag_id to retrieve Dag Runs for
all DAGs.
"""
- query = select(DagRun).options(*eager_load_dag_run_for_validation())
+ query = select(DagRun).options(
+ load_only(
Review Comment:
Why did you think other columns are unnecessary to return to user?
We are populating and returning all these to user.
https://github.com/apache/airflow/blob/b93d3798cf4b4561c84900ae4821837294e03d07/airflow-core/src/airflow/api_fastapi/core_api/datamodels/dag_run.py#L64
--
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]