pierrejeambrun commented on PR #42843:
URL: https://github.com/apache/airflow/pull/42843#issuecomment-2418862228

   Of course @ArshiaZr, you are welcome to open a PR
   
   Maybe @bbovenzi will have more information on what is needed exactly but I 
think the idea is:
   - For the public endpoint `get_dags` you can add the `latest_dag_run` which 
is basically a whole serialized dag_run object
   - We need a custom `ui` endpoints to `get_dags` that will also return the X 
latest dag_run of the dag. So basically a `latest_dag_runs` that is a list with 
serialized dag_run. Maybe that `X` is a query parameter so I can ask for dags 
with their 10th dagrun like this `?n_dag_runs=10` or somothing similar. But 
maybe that is not needed the query parameter part. You can just start with an 
hardcoded value.


-- 
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]

Reply via email to