villebro commented on issue #9307: Jinja template not working in explore or dashboard view URL: https://github.com/apache/incubator-superset/issues/9307#issuecomment-599914113 I believe you should put single quotes around the expression, i.e. `clientId = '{{current_username()}}'`. Also, if you're using caching, be sure to add `cache_key_wrapper()` around `current_username()` to make sure cached resuls don't leak from one user to the next.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
