From 88172e2864c889726aa98ece15e1e23c1ca1b16b Mon Sep 17 00:00:00 2001 From: sinhashubham95 Date: Sat, 22 Oct 2022 15:36:47 +0530 Subject: [PATCH] fixed bulk deleting embedded dashboards --- superset/dashboards/dao.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/dashboards/dao.py b/superset/dashboards/dao.py index 36db7e341a114..9f3d5178d7bb6 100644 --- a/superset/dashboards/dao.py +++ b/superset/dashboards/dao.py @@ -160,6 +160,7 @@ def bulk_delete(models: Optional[List[Dashboard]], commit: bool = True) -> None: for model in models: model.slices = [] model.owners = [] + model.embedded = [] db.session.merge(model) # bulk delete itself try: