tirkarthi commented on issue #39527: URL: https://github.com/apache/airflow/issues/39527#issuecomment-2137407683
I was working on this issue and it looks complex since the legacy page uses the task template fields to get the relevant renderer and uses pygment lexer for highlighting along with lot of other inference for the objects. The issue is that in this case there is configuration which is a json and configuration.query.query which is a sql with both of them template fields. But in the API response the rendered template field string is just returned without any lexer information. Also the legacy page has access to dagbag and the corresponding task which the API endpoints don't have. I have made some progress on this issue and can raise a PR once I get to a working state. Thanks -- 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]
