diff --git a/superset/datasets/commands/importers/v1/utils.py b/superset/datasets/commands/importers/v1/utils.py index 1e00490190574..ba2b7df26174a 100644 --- a/superset/datasets/commands/importers/v1/utils.py +++ b/superset/datasets/commands/importers/v1/utils.py @@ -97,7 +97,6 @@ def import_dataset( logger.info("Unable to encode `%s` field: %s", key, config[key]) for key in ("metrics", "columns"): for attributes in config.get(key, []): - # should be a dictionary, but in initial exports this was a string if attributes.get("extra") is not None: try: attributes["extra"] = json.dumps(attributes["extra"])