You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/13 09:36:16 UTC

[GitHub] [airflow] dyon781 commented on issue #27026: Parameterise key sorting in "Rendered Template" view

dyon781 commented on issue #27026:
URL: https://github.com/apache/airflow/issues/27026#issuecomment-1277321798

   I've been thinking on three options to have it on custom operator level:
    Let's assume we have this set at custom operator:
       template_fields = ("field1", "field2",)
       template_fields_renderers = {"field1": "json"}
   
   1) We can have it redefined in whole for all:
       template_fields_kwargs = {"sort_keys": False}
   2) Or to have it on template column level:
       template_fields_kwargs = {"field1": {"sort_keys": False}}
   3) We can have it redefined on renderer level(this one is wild guess, it seems this is barely possible):
       template_fields_renderers_kwargs = {"json": {"sort_keys": False}}


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org