bugraoz93 commented on code in PR #58352:
URL: https://github.com/apache/airflow/pull/58352#discussion_r2532306079
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/dags.py:
##########
@@ -191,7 +191,7 @@ def get_dags(
DagRun.run_after,
DagRun.start_date,
DagRun.state,
- DagRun.duration,
+ getattr(DagRun, "duration"),
Review Comment:
Thanks for the PR! We don't have any similar approach where while querying
getting an attribute with getattr. Maybe this should be handled in the model so
that we have a clear approach :thinking: What do you think?
--
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]