We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e48ce commit cbec679Copy full SHA for cbec679
src/frequenz/sdk/timeseries/_ringbuffer/buffer.py
@@ -624,7 +624,3 @@ def count_valid(self) -> int:
624
return len(self._buffer) - start_index + end_index + 1 - sum_missing_entries
625
626
return end_index + 1 - start_index - sum_missing_entries
627
-
628
- def __len__(self) -> int:
629
- """Return the count of valid items that this container currently holds."""
630
- return self.count_valid()
0 commit comments