File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,17 @@ def __init__( # pylint: disable=too-many-arguments
6464 *relevant* samples at a given time. The result of the function
6565 is what is sent as the resampled data.
6666 """
67- self ._channel_registry = channel_registry
68- self ._resampling_period_s = resampling_period_s
67+ self ._channel_registry : ChannelRegistry = channel_registry
68+ self ._resampling_period_s : float = resampling_period_s
6969 self ._max_data_age_in_periods : float = max_data_age_in_periods
7070 self ._resampling_function : ResamplingFunction = resampling_function
71- self ._data_sourcing_request_sender = data_sourcing_request_sender
72- self ._resampling_request_receiver = resampling_request_receiver
73- self ._resampler = Resampler (
71+ self ._data_sourcing_request_sender : Sender [
72+ ComponentMetricRequest
73+ ] = data_sourcing_request_sender
74+ self ._resampling_request_receiver : Receiver [
75+ ComponentMetricRequest
76+ ] = resampling_request_receiver
77+ self ._resampler : Resampler = Resampler (
7478 resampling_period_s = resampling_period_s ,
7579 max_data_age_in_periods = max_data_age_in_periods ,
7680 resampling_function = resampling_function ,
You can’t perform that action at this time.
0 commit comments