jason810496 commented on PR #43204: URL: https://github.com/apache/airflow/pull/43204#issuecomment-2428775760
I think for this UI, the endpoint doesn't need to respond with so much information (compared with `/last_dagruns` in `views.py`). In `/last_dagruns`, it only needs `dag_id`, `start_date`, `end_date`, `state`, `execution_date`, `data_interval_start`, and `data_interval_end`. Instead of marking the fields that aren't needed in this endpoint as optional in `DAGRunResponse`, I think inheriting from `OptionalModel` to mark the entire `RecentDAGRunResponse` would be clearer. -- 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]
