Skip to content

Commit 08c514e

Browse files
shsmsllucax
andcommitted
Apply suggestions from code review
Co-authored-by: Leandro Lucarella <[email protected]> Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 4750c52 commit 08c514e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/frequenz/sdk/actor/power_distributing/_component_managers/_battery_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def __init__(
129129
component_pool_status_sender: Sender[ComponentPoolStatus],
130130
results_sender: Sender[Result],
131131
):
132-
"""Initialize the battery data manager.
132+
"""Initialize this instance.
133133
134134
Args:
135135
component_pool_status_sender: Channel sender to send the status of the

src/frequenz/sdk/actor/power_distributing/_component_managers/_ev_charger_manager/_states.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class EvcStates:
7575
_states: dict[int, EvcState]
7676

7777
def __init__(self) -> None:
78-
"""Initialize the EvcStates object."""
78+
"""Initialize this instance."""
7979
self._states = {}
8080

8181
def get_ev_total_used_power(self) -> Power:

src/frequenz/sdk/actor/power_distributing/_component_status/_ev_charger_status_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__( # pylint: disable=too-many-arguments
5252
status_sender: Sender[ComponentStatus],
5353
set_power_result_receiver: Receiver[SetPowerResult],
5454
) -> None:
55-
"""Create an `EVChargerStatusTracker` instance.
55+
"""Initialize this instance.
5656
5757
Args:
5858
component_id: ID of the EV charger to monitor the status of.

src/frequenz/sdk/timeseries/ev_charger_pool/_ev_charger_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,5 @@ async def stop(self) -> None:
229229

230230
@property
231231
def _system_power_bounds(self) -> ReceiverFetcher[SystemBounds]:
232-
"""Return a receiver for the system power bounds."""
232+
"""Return a receiver fetcher for the system power bounds."""
233233
return self._ev_charger_pool.bounds_channel

src/frequenz/sdk/timeseries/ev_charger_pool/_system_bounds_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(
3636
status_receiver: Receiver[ComponentPoolStatus],
3737
bounds_sender: Sender[SystemBounds],
3838
):
39-
"""Initialize the system bounds tracker.
39+
"""Initialize this instance.
4040
4141
Args:
4242
component_ids: The ids of the components to track.

0 commit comments

Comments
 (0)