Skip to content

Commit

Permalink
Update superset/datasets/commands/importers/v1/utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida authored Dec 22, 2021
1 parent 13f21d2 commit 22c80a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion superset/datasets/commands/importers/v1/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 22c80a9

Please sign in to comment.