Skip to content

Commit 23e3d8e

Browse files
committed
Add some member variables documentation
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent cda8210 commit 23e3d8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/frequenz/sdk/timeseries/_resampling.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,13 @@ def __init__(self, config: ResamplerConfig) -> None:
346346
config: The configuration for the resampler.
347347
"""
348348
self._config = config
349+
"""The configuration for this resampler."""
350+
349351
self._resamplers: dict[Source, _StreamingHelper] = {}
352+
"""A mapping between sources and the streaming helper handling that source."""
353+
350354
self._timer: Timer = Timer(config.resampling_period_s)
355+
"""The timer to trigger the next resampling."""
351356

352357
@property
353358
def config(self) -> ResamplerConfig:

0 commit comments

Comments
 (0)