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 2021/01/13 20:36:29 UTC

[GitHub] [superset] ktmud commented on a change in pull request #12483: fix(dashboard): use datasource id from slice metadata

ktmud commented on a change in pull request #12483:
URL: https://github.com/apache/superset/pull/12483#discussion_r556812494



##########
File path: superset/charts/commands/importers/v1/__init__.py
##########
@@ -69,26 +70,29 @@ def _import(
                 database_ids[str(database.uuid)] = database.id
 
         # import datasets with the correct parent ref
-        dataset_info: Dict[str, Dict[str, Any]] = {}
+        datasets: Dict[str, SqlaTable] = {}

Review comment:
       Current importer doesn't support Druid datasource anyway, `BaseDatasource` does not have other attributes referenced at [L92](https://github.com/apache/superset/blob/f8270b0b80c51d32a23661d104416b6b5df395d5/superset/charts/commands/importers/v1/__init__.py#L92) and [L94](https://github.com/apache/superset/blob/f8270b0b80c51d32a23661d104416b6b5df395d5/superset/charts/commands/importers/v1/__init__.py#L94).




----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org