ktmud edited a comment on pull request #11617: URL: https://github.com/apache/incubator-superset/pull/11617#issuecomment-725773009
Not sure if we really want to move away from Jinja. Other than the unintentional exposure of unsafe objects, what are other potential risks with Jinja? One thing we could to is to be more careful with what we expose to Jinja context---and the first thing we should probably do is to always expose raw functions instead of class objects (i.e., replace `hive.latest_partition` and `presto.latest_partition` with `latest_partition`). ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
