Skip to content

Support template_fields_renderers in Airflow 3 (probably on the client side - UI) #49064

Description

@pankajkoti

Description

Previously in Airflow 2 we used to support template_field_renderers that would prettily display in the UI template fields like SQL, JSON, etc. It appears to me that we do not support this yet in Airflow 3. Apparently, this was being handled on the server side previously, but with the changes, the guess is, it now needs to be handled on the client side(?)

Use case/motivation

Before
(SQL field being rendered prettily)

Image

Now (not rendering prettily)

Image

This I observed while working with Cosmos (Astronomer), but if I search template_fields_renderers the Airflow code base, I see a lot of providers do try to set them.

It would be nice to support this for better user experience.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    AIP-38Modern Web ApplicationAIP-84Modern Rest APIarea:UIRelated to UI/UX. For Frontend Developers.kind:featureFeature Requestspriority:mediumBug that should be fixed before next release but would not block a release

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions