feat(embedded+async queries): support async queries to work with embedded guest user (#26332)

(cherry picked from commit efdeb9df05)
This commit is contained in:
Zef Lin
2024-01-08 17:11:45 -08:00
committed by Michael S. Molina
parent 86794cbb5e
commit dac73fe0cd
5 changed files with 134 additions and 19 deletions

View File

@@ -121,6 +121,7 @@ class TestQueryContext(SupersetTestCase):
cached = cache_manager.cache.get(cache_key)
assert cached is not None
assert "form_data" in cached["data"]
rehydrated_qc = ChartDataQueryContextSchema().load(cached["data"])
rehydrated_qo = rehydrated_qc.queries[0]