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: