Skip to content

Commit

Permalink
/* PR_START p--query-resolution-perf 08 */ Remove `LinkableElementSet…
Browse files Browse the repository at this point in the history
….__len__()`.
  • Loading branch information
plypaul committed Jul 15, 2024
1 parent 604bf53 commit 45947fb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ def difference(self, other: LinkableSpecSet) -> LinkableSpecSet: # noqa: D102
group_by_metric_specs=tuple(set(self.group_by_metric_specs) - set(other.group_by_metric_specs)),
)

def __len__(self) -> int: # noqa: D105
return len(self.dimension_specs) + len(self.time_dimension_specs) + len(self.entity_specs)

@staticmethod
def create_from_specs(specs: Sequence[LinkableInstanceSpec]) -> LinkableSpecSet: # noqa: D102
return _group_specs_by_type(specs)
Expand Down

0 comments on commit 45947fb

Please sign in to comment.