mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: bump rison to 2.0.0 (#39529)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import prison
|
||||
import rison
|
||||
from flask import current_app, Response
|
||||
|
||||
from superset import security_manager
|
||||
@@ -55,7 +55,7 @@ class DashboardTestCase(SupersetTestCase):
|
||||
return self.delete_assert_metric(uri, "delete")
|
||||
|
||||
def bulk_delete_dashboard_via_api(self, dashboard_ids):
|
||||
uri = DASHBOARDS_API_URL_WITH_QUERY_FORMAT.format(prison.dumps(dashboard_ids)) # noqa: F405
|
||||
uri = DASHBOARDS_API_URL_WITH_QUERY_FORMAT.format(rison.dumps(dashboard_ids)) # noqa: F405
|
||||
return self.delete_assert_metric(uri, "bulk_delete")
|
||||
|
||||
def delete_dashboard(self, dashboard_id: int) -> Response:
|
||||
|
||||
Reference in New Issue
Block a user