kekwan commented on code in PR #23641:
URL: https://github.com/apache/superset/pull/23641#discussion_r1163059056
##########
superset/charts/data/api.py:
##########
@@ -299,6 +299,9 @@ def data_from_cache(self, cache_key: str) -> Response:
"""
try:
cached_data = self._load_query_context_form_from_cache(cache_key)
+
+ # Set form_data in Flask Global as it is used as a fallback for
async queries with jinja context
+ setattr(g, "form_data", cached_data)
Review Comment:
thanks! missed that, was running a different version locally.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]