fix: memoized decorator memory leak (#23139)

(cherry picked from commit 79274eb5bc)
This commit is contained in:
Daniel Vaz Gaspar
2023-02-27 15:59:11 +00:00
committed by Elizabeth Thompson
parent 22bab714d6
commit b14e53e492
12 changed files with 24 additions and 203 deletions

View File

@@ -991,6 +991,7 @@ class TestUtils(SupersetTestCase):
slc = self.get_slice("Girls", db.session)
dashboard_id = 1
assert slc.viz is not None
resp = self.get_json_resp(
f"/superset/explore_json/{slc.datasource_type}/{slc.datasource_id}/"
+ f'?form_data={{"slice_id": {slc.id}}}&dashboard_id={dashboard_id}',