mirror of https://github.com/apache/superset.git
[cache] Fixing json.dumps for timestamp (#4240)
This commit is contained in:
parent
7b76356182
commit
8175e19f72
|
@ -289,7 +289,7 @@ class BaseViz(object):
|
|||
self.status != utils.QueryStatus.FAILED):
|
||||
cached_dttm = datetime.utcnow().isoformat().split('.')[0]
|
||||
try:
|
||||
cache_value = json.dumps({
|
||||
cache_value = self.json_dumps({
|
||||
'data': data,
|
||||
'dttm': cached_dttm,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue