EnxDev commented on code in PR #38343:
URL: https://github.com/apache/superset/pull/38343#discussion_r2877206050
##########
superset/commands/importers/v1/assets.py:
##########
@@ -136,6 +138,17 @@ def _import(configs: dict[str, Any], sparse: bool = False)
-> None: # noqa: C90
charts.append(chart)
chart_ids[str(chart.uuid)] = chart.id
+ # Handle tags using import_tag function
+ if feature_flag_manager.is_feature_enabled("TAGGING_SYSTEM"):
+ if target_tag_names := config.get("tags"):
+ import_tag(
+ target_tag_names,
+ {},
Review Comment:
Do you think we should add a description here? Otherwise, the tags might be
created without one.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]