Skip to content

Commit

Permalink
hid internal function
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kovalsky committed Oct 23, 2024
1 parent b897b8e commit b7fe412
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sempy_labs/tom/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from sempy_labs._helper_functions import (
format_dax_object_name,
generate_guid,
make_list_unique,
_make_list_unique,
)
from sempy_labs._list_functions import list_relationships
from sempy_labs._refresh_semantic_model import refresh_semantic_model
Expand Down Expand Up @@ -4511,7 +4511,7 @@ def close(self):
tags.append("SLL")

if not any(a.Name == icons.sll_ann_name for a in self.model.Annotations):
ann_list = make_list_unique(tags)
ann_list = _make_list_unique(tags)
new_ann_value = str(ann_list).replace("'", '"')
self.set_annotation(
object=self.model, name=icons.sll_ann_name, value=new_ann_value
Expand All @@ -4523,7 +4523,7 @@ def close(self):
)
ann_list = ast.literal_eval(ann_value)
ann_list += tags
ann_list = make_list_unique(ann_list)
ann_list = _make_list_unique(ann_list)
new_ann_value = str(ann_list).replace("'", '"')
self.set_annotation(
object=self.model, name=icons.sll_ann_name, value=new_ann_value
Expand Down

0 comments on commit b7fe412

Please sign in to comment.