We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72a41c1 commit bfe55b9Copy full SHA for bfe55b9
superset/models/dashboard.py
@@ -365,8 +365,11 @@ def export_dashboards( # pylint: disable=too-many-locals
365
copied_dashboard.alter_params(remote_id=dashboard_id)
366
copied_dashboards.append(copied_dashboard)
367
368
+ datasource_id_list = list(datasource_ids)
369
+ datasource_id_list.sort()
370
+
371
eager_datasources = []
- for datasource_id, _ in datasource_ids:
372
+ for datasource_id, _ in datasource_id_list:
373
eager_datasource = SqlaTable.get_eager_sqlatable_datasource(datasource_id)
374
copied_datasource = eager_datasource.copy()
375
copied_datasource.alter_params(
0 commit comments