mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
[fix] Automatically add relevant Jinja methods to cache key if present (#9572)
* [fix] Adding URL params to cache key if present * [cache] Wrapping Jinja methods Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -115,7 +115,6 @@ class CoreTests(SupersetTestCase):
|
||||
viz = slc.viz
|
||||
qobj = viz.query_obj()
|
||||
cache_key = viz.cache_key(qobj)
|
||||
self.assertEqual(cache_key, viz.cache_key(qobj))
|
||||
|
||||
qobj["groupby"] = []
|
||||
self.assertNotEqual(cache_key, viz.cache_key(qobj))
|
||||
|
||||
Reference in New Issue
Block a user