From 8edc7801f796fdc54a81929ef2ed295ac82def94 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 10 Oct 2024 23:10:50 +0200 Subject: [PATCH] added list for keys --- src/sempy_labs/tom/_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sempy_labs/tom/_model.py b/src/sempy_labs/tom/_model.py index de614777..4782fcf2 100644 --- a/src/sempy_labs/tom/_model.py +++ b/src/sempy_labs/tom/_model.py @@ -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