Skip to content

Commit b0691f2

Browse files
committed
Make the resampler module private
The resampler classes are already exposed via the `timeseries` package, so there is no need to have them exposed twice. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 6be8f97 commit b0691f2

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/frequenz/sdk/actor/resampling.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
from frequenz.channels import MergeNamed, Receiver, Select, Sender, Timer
1717

1818
from ..data_pipeline import ComponentMetricRequest
19-
from ..timeseries import Sample
20-
from ..timeseries.resampler import GroupResampler, ResamplingFunction
19+
from ..timeseries import GroupResampler, ResamplingFunction, Sample
2120
from . import ChannelRegistry, actor
2221

2322
logger = logging.Logger(__name__)

src/frequenz/sdk/timeseries/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
MIT
1414
"""
1515

16-
from .resampler import GroupResampler, Resampler, ResamplingFunction
16+
from ._resampler import GroupResampler, Resampler, ResamplingFunction
1717
from .sample import Sample
1818

1919
__all__ = [

0 commit comments

Comments
 (0)