mistercrunch commented on a change in pull request #11704:
URL:
https://github.com/apache/incubator-superset/pull/11704#discussion_r525380603
##########
File path: superset/jinja_context.py
##########
@@ -335,8 +421,8 @@ def get_template_processor(
**kwargs: Any,
) -> BaseTemplateProcessor:
if feature_flag_manager.is_feature_enabled("ENABLE_TEMPLATE_PROCESSING"):
- template_processor = template_processors.get(
- database.backend, BaseTemplateProcessor
+ template_processor = template_processors().get(
+ database.backend, JinjaTemplateProcessor
Review comment:
LGTM as is, if anything it can be done outside of this PR
----------------------------------------------------------------
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]