We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f8436 commit aeddd4fCopy full SHA for aeddd4f
lib/superset/dashboard/bulk_delete_cascade.rb
@@ -2,6 +2,7 @@
2
3
# WARNING: DESTRUCTIVE OPERATION .. use with caution
4
# This class is used to delete multiple dashboards and all related charts and datasets.
5
+# There are NO CHECKS currently to confirm if a dataset is used on other dashboards.
6
7
module Superset
8
module Dashboard
@@ -11,7 +12,7 @@ class InvalidParameterError < StandardError; end
11
12
attr_reader :dashboard_ids
13
14
def initialize(dashboard_ids: [])
- @dashboard_ids = dashboard_ids # delete sequentially
15
+ @dashboard_ids = dashboard_ids
16
end
17
18
def perform
0 commit comments