This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 917d02e  fix(chart-api): cached-indicator always shows value is cached 
(#11326)
917d02e is described below

commit 917d02efbd80ef490f121ffb8e2211e919311596
Author: Ville Brofeldt <[email protected]>
AuthorDate: Mon Oct 19 16:46:42 2020 +0300

    fix(chart-api): cached-indicator always shows value is cached (#11326)
---
 superset/common/query_context.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/common/query_context.py b/superset/common/query_context.py
index 0e7fa9d..d079b35 100644
--- a/superset/common/query_context.py
+++ b/superset/common/query_context.py
@@ -282,7 +282,7 @@ class QueryContext:
             "cache_timeout": self.cache_timeout,
             "df": df,
             "error": error_message,
-            "is_cached": cache_key is not None,
+            "is_cached": cache_value is not None,
             "query": query,
             "status": status,
             "stacktrace": stacktrace,

Reply via email to