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/06/06 15:31:12 UTC

[GitHub] [airflow] josh-fell commented on issue #24197: KubernetesPodOperator rendered template tab does not prettty print `env_vars`

josh-fell commented on issue #24197:
URL: https://github.com/apache/airflow/issues/24197#issuecomment-1147583191

   @ShahNewazKhan WDYT about submitting a PR for this? Airflow has over 2K contributors and it seems like you are in a great position to test an enhancement here.
   
   I suspect it's a matter of adding `template_fields_renderers` attribute to `KubernetesPodOperator`; maybe even something similar to what's done in [this operator](https://github.com/apache/airflow/blob/b4a5783a2a90d9a0dc8abe5f2a47e639bfb61646/airflow/providers/microsoft/azure/operators/data_factory.py#L120) (and others).
   
   There are [several rendering lexers](https://github.com/apache/airflow/blob/06856337a51139d66b1a39544e276e477c6b5ea1/airflow/www/utils.py#L530) that are available and this seems like it could be a matter of finding the correct one so `env_vars` is more human-readable in the UI.


-- 
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