Skip to content

Commit ae2effd

Browse files
authored
Apply suggestion from @llucax
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent eaba56c commit ae2effd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/sdk/microgrid/_old_component_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def _check_category(cls, component_id: ComponentId) -> None:
152152
ValueError: if the given id is unknown or has a different type.
153153
"""
154154
# pylint: disable-next=import-outside-toplevel,cyclic-import
155-
from frequenz.sdk import microgrid
155+
from .. import microgrid
156156

157157
components = microgrid.connection_manager.get().component_graph.components(
158158
filter_by_ids={component_id}

0 commit comments

Comments
 (0)