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

This commit is contained in:
Zef Lin
2024-01-08 17:11:45 -08:00
committed by GitHub
parent 4c2e818cd3
commit efdeb9df05
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]