[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:
John Bodley
2020-04-24 08:18:22 -07:00
committed by GitHub
parent 7386b017ab
commit 955a4fe792
7 changed files with 157 additions and 111 deletions

View File

@@ -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))