Skip to content

Commit

Permalink
Updated commands/importers/v1/utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Asher Manangan committed Nov 21, 2024
1 parent 746b4f2 commit 57c89dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/commands/importers/v1/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,12 @@ def import_tag(
except yaml.YAMLError as err:
logger.error("Error parsing tags.yaml: %s", err)
tags_config = {}

for tag_info in tags_config.get("tags", []):
tag_name = tag_info.get("tag_name")
description = tag_info.get("description", None)
if tag_name:
tag_descriptions[tag_name] = description
tag_descriptions[tag_name] = description
existing_tags = (
db_session.query(TaggedObject)
.filter_by(object_id=object_id, object_type=object_type)
Expand Down

0 comments on commit 57c89dd

Please sign in to comment.