File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/frequenz/sdk/actor/power_distributing Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ class Request:
1212 """Request to set power to the `PowerDistributingActor`."""
1313
1414 power : int
15- """The amount of power to be set ."""
15+ """The requested power in watts ."""
1616
1717 batteries : set [int ]
18- """The set of batteries to use when requesting the power to be set ."""
18+ """The component ids of the batteries to be used for this request ."""
1919
2020 request_timeout_sec : float = 5.0
2121 """The maximum amount of time to wait for the request to be fulfilled."""
@@ -24,8 +24,8 @@ class Request:
2424 """Whether to adjust the power to match the bounds.
2525
2626 If `True`, the power will be adjusted (lowered) to match the bounds, so
27- only the decreased power will be set.
27+ only the reduced power will be set.
2828
2929 If `False` and the power is outside the batteries' bounds, the request will
30- fail and replied to with an `OutOfBound` result.
30+ fail and be replied to with an `OutOfBound` result.
3131 """
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class _BaseSuccessMixin:
5555
5656@dataclasses .dataclass
5757class Success (_BaseSuccessMixin , Result ): # Order matters here. See above.
58- """Result returned when setting the power succeed for all batteries."""
58+ """Result returned when setting the power succeeded for all batteries."""
5959
6060
6161@dataclasses .dataclass
You can’t perform that action at this time.
0 commit comments