choo121600 commented on issue #48562:
URL: https://github.com/apache/airflow/issues/48562#issuecomment-2817756383
I was assigned this issue and have looked into it. Previously, when the UI
was based on Flask AppBuilder (FAB), we could retrieve the owner link using the
following method:
```jinja2
{% if owner_links and owner.strip() in owner_links.get(dag.dag_id, {}) %}
```
However, now that the UI has been changed to React, this method no longer
works."
Currently, we need to get this information via an API. However, the current
endpoint used in the header **(`/api/v2/dags/{dag_id}/details`) and the
`DAGDetailsResponse` data model do not include any `owner_link` information.**
To resolve this, we may need to update the API and data model to include
this field. I’m considering updating the API response to include the owner
link, or possibly adding a new endpoint if necessary. I would like to confirm
this approach before proceeding.
--
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]