mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
[cache] Fixing json.dumps for timestamp (#4240)
This commit is contained in:
committed by
Maxime Beauchemin
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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user