harishtheking opened a new pull request, #63627: URL: https://github.com/apache/airflow/pull/63627
This PR optimizes the `get_dag_runs` API endpoint by limiting the columns loaded from the `DagRun` model using SQLAlchemy `load_only`. Previously the query loaded the full DagRun model which could result in unnecessary data being fetched. This change improves query efficiency while keeping existing eager loading behavior intact. -- 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]
