File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/frequenz/sdk/microgrid Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2222from .._internal ._channels import ChannelRegistry
2323from ..actor ._actor import Actor
2424from ..timeseries import ResamplerConfig
25- from ..timeseries ._grid_frequency import GridFrequency
2625from ..timeseries ._voltage_streamer import VoltageStreamer
2726from ..timeseries .grid import Grid
2827from ..timeseries .grid import get as get_grid
3534#
3635# pylint: disable=import-outside-toplevel
3736if typing .TYPE_CHECKING :
37+ from ..timeseries ._grid_frequency import GridFrequency
3838 from ..timeseries .battery_pool import BatteryPool
3939 from ..timeseries .battery_pool ._battery_pool_reference_store import (
4040 BatteryPoolReferenceStore ,
@@ -140,6 +140,8 @@ def __init__(
140140
141141 def frequency (self ) -> GridFrequency :
142142 """Return the grid frequency measuring point."""
143+ from ..timeseries ._grid_frequency import GridFrequency
144+
143145 if self ._frequency_instance is None :
144146 self ._frequency_instance = GridFrequency (
145147 self ._data_sourcing_request_sender (),
You can’t perform that action at this time.
0 commit comments