Skip to content

Commit

Permalink
Deduplicate _hidden_raw_aggregations
Browse files Browse the repository at this point in the history
  • Loading branch information
alxtkr77 authored Oct 2, 2023
1 parent 1697929 commit a76f98c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storey/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1426,6 +1426,7 @@ def __init__(
self._explicit_raw_aggregations = explicit_raw_aggregations
self._hidden_raw_aggregations = hidden_raw_aggregations
self._hidden_raw_aggregations.append("count")
self._hidden_raw_aggregations = list(set(self._hidden_raw_aggregations))
self._all_raw_aggregates = self._explicit_raw_aggregations.copy()
for hidden_aggr in self._hidden_raw_aggregations:
if hidden_aggr not in self._all_raw_aggregates:
Expand Down

0 comments on commit a76f98c

Please sign in to comment.