mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
[charts] New, bulk delete API endpoint (#9387)
* [charts] New, bulk delete API endpoint * [charts] Fix, typos * [charts] Fix wrong model name
This commit is contained in:
committed by
GitHub
parent
40bc1b33d2
commit
81971967c3
@@ -379,7 +379,7 @@ class DashboardApiTests(SupersetTestCase, ApiOwnersTestCaseMixin):
|
||||
expected_response = {"message": "Forbidden"}
|
||||
self.assertEqual(response, expected_response)
|
||||
|
||||
# nothing is delete in bulk with a list of owned and not owned dashboards
|
||||
# nothing is deleted in bulk with a list of owned and not owned dashboards
|
||||
arguments = [dashboard.id for dashboard in dashboards] + [owned_dashboard.id]
|
||||
uri = f"api/v1/dashboard/?q={prison.dumps(arguments)}"
|
||||
rv = self.client.delete(uri)
|
||||
|
||||
Reference in New Issue
Block a user