Skip to content

Commit

Permalink
fixed PartitionSourceType
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kovalsky committed Jun 23, 2024
1 parent b97e37e commit 3a0cd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sempy_labs/tom/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def all_calculated_tables(self):
import Microsoft.AnalysisServices.Tabular as TOM

for t in self.model.Tables:
if any(p.SourceType == TOM.ColumnType.Calculated for p in t.Partitions):
if any(p.SourceType == TOM.PartitionSourceType.Calculated for p in t.Partitions):
yield t

def all_calculation_groups(self):
Expand Down

0 comments on commit 3a0cd25

Please sign in to comment.