Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DomFijan committed Jul 18, 2024
1 parent 3ef1df1 commit 6dd604c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dupin/data/aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __init__(
max_deque_length=None,
):
self.generator = generator
self._max_deque_length = max_deque_length
if max_deque_length is not None:
self.signals = deque(maxlen=max_deque_length)
else:
Expand Down Expand Up @@ -215,6 +216,11 @@ def logger(self):
"""dupin.data.logging.Logger: Logger for the aggregator."""
return self._logger

@property
def max_deque_length(self):
"""int: The maximum length of the deque."""
return self._max_deque_length

@logger.setter
def logger(self, new_logger):
self._logger = new_logger
Expand Down

0 comments on commit 6dd604c

Please sign in to comment.