potiuk edited a comment on issue #17032:
URL: https://github.com/apache/airflow/issues/17032#issuecomment-885474428
> How about updating views.py so that it will show dicts and lists not as a
whole, but with individual items:
I like this a lot. It's much simpler than the "jsonpath" solution and it
will work out-of-the-box for most operators. This could also be enhanced a bit
- if for example the name of the field (including whole path) after unfurling
the dictionary, matches the "rendered_field" entry - we could use the right
renderer and get syntax coloring as well.
In the BigQuery case
```
template_fields_renderers = {"configuration.query.query": "sql"}
```
would lead to nice sql coloring:
```
configuration={"query": {"query": sql.strip(),
"useLegacySql": 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]