Skip to content

Commit

Permalink
added list for keys
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kovalsky committed Oct 10, 2024
1 parent 397a011 commit 8edc780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sempy_labs/tom/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4486,12 +4486,12 @@ def close(self):
if any(
p.SourceType == TOM.PartitionSourceType.Entity for p in t.Partitions
):
if t.LineageTag in self._table_map.keys():
if t.LineageTag in list(self._table_map.keys()):
if self._table_map.get(t.LineageTag) != t.Name:
self.add_changed_property(object=t, property="Name")

for c in self.all_columns():
if c.LineageTag in self._column_map.keys():
if c.LineageTag in list(self._column_map.keys()):
if any(
p.SourceType == TOM.PartitionSourceType.Entity
for p in c.Parent.Partitions
Expand Down

0 comments on commit 8edc780

Please sign in to comment.