This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new e94360486e chore(commands): Remove unnecessary commit (#28154)
e94360486e is described below
commit e94360486e3db9488119f805f4c118ba5021754a
Author: John Bodley <[email protected]>
AuthorDate: Wed May 1 15:09:50 2024 -0700
chore(commands): Remove unnecessary commit (#28154)
---
superset/commands/dashboard/importers/v0.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/superset/commands/dashboard/importers/v0.py
b/superset/commands/dashboard/importers/v0.py
index 56a2345906..45089cbeac 100644
--- a/superset/commands/dashboard/importers/v0.py
+++ b/superset/commands/dashboard/importers/v0.py
@@ -308,7 +308,6 @@ def import_dashboards(
params = json.loads(table.params)
dataset_id_mapping[params["remote_id"]] = new_dataset_id
- db.session.commit()
for dashboard in data["dashboards"]:
import_dashboard(dashboard, dataset_id_mapping,
import_time=import_time)
db.session.commit()