You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/09/10 16:31:41 UTC
[GitHub] [incubator-superset] mistercrunch commented on a change in pull
request #8203: Fix import dashboard id
mistercrunch commented on a change in pull request #8203: Fix import dashboard id
URL: https://github.com/apache/incubator-superset/pull/8203#discussion_r322844970
##########
File path: superset/models/core.py
##########
@@ -611,10 +611,11 @@ def alter_positions(dashboard, old_to_new_slc_id_dict):
# override the dashboard
existing_dashboard = None
+ remote_id = dashboard_to_import.params_dict.get("remote_id")
Review comment:
can we do `remote_id = dashboard_to_import.params_dict.get("remote_id") or dashboard_to_import.id` to be prudent here
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org