jh242 commented on PR #27805: URL: https://github.com/apache/airflow/pull/27805#issuecomment-1328132103
> @aaronabraham311 There are a lot of examples querying resource from the db in the [`views.py`](https://github.com/apache/airflow/blob/main/airflow/www/views.py) file. In this case DagRun should have what you need. In the example you mentioned above (json config displayed in the dagrun details), its coming from the [`grid_data`](https://github.com/apache/airflow/blob/main/airflow/www/views.py#L3487) view of the same file :) I've implemented this approach and limited the number of requested recent DAG runs to 10... Because there may be duplicate recent configs this means we won't necessarily get 10 different recent configs. Take a look! -- 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]
