You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by cc...@apache.org on 2018/11/12 20:57:54 UTC

[incubator-superset] branch master updated: Fixed the cache issue for BigNumber (#6375)

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

ccwilliams 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 8e2d28d  Fixed the cache issue for BigNumber (#6375)
8e2d28d is described below

commit 8e2d28dd6e057a16cd621bdf32c4798a2dd7ef61
Author: Conglei <sh...@gmail.com>
AuthorDate: Mon Nov 12 12:57:46 2018 -0800

    Fixed the cache issue for BigNumber (#6375)
    
    * fixed the cache issue for bignumber
    
    * fixed
---
 superset/viz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/viz.py b/superset/viz.py
index 91b48f2..068a70d 100644
--- a/superset/viz.py
+++ b/superset/viz.py
@@ -489,7 +489,7 @@ class BaseViz(object):
         return df.to_csv(index=include_index, **config.get('CSV_EXPORT'))
 
     def get_data(self, df):
-        return self.get_df().to_dict(orient='records')
+        return df.to_dict(orient='records')
 
     @property
     def json_data(self):