Skip to content

Commit f656edc

Browse files
committed
Remove inexistent arguments from docstrings
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 0f203e0 commit f656edc

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

benchmarks/power_distribution/power_distributor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ async def send_requests(batteries: Set[int], request_num: int) -> List[Result]:
3636
"""Send requests to the PowerDistributingActor and wait for the response.
3737
3838
Args:
39-
user: user that should send request
4039
batteries: set of batteries where the power should be set
4140
request_num: number of requests that should be send
4241

benchmarks/timeseries/periodic_feature_extractor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def _calculate_avg_window(
6464
feature_extractor: The instance of the PeriodicFeatureExtractor to use.
6565
window: The window to calculate the average over.
6666
window_size: The size of the window to calculate the average over.
67-
weights: The weights to use for the average calculation.
6867
6968
Returns:
7069
The averaged window.

tests/actor/test_actor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,7 @@ def __init__(
132132
self._output = output
133133

134134
async def _run(self) -> None:
135-
"""Do computations depending on the selected input message.
136-
137-
Args:
138-
output: A channel sender, to send actor's results to.
139-
"""
135+
"""Do computations depending on the selected input message."""
140136
print(f"{self} started")
141137
self.inc_restart_count()
142138

tests/utils/mock_microgrid_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ def _create_mock_api(
229229
"""Create mock of MicrogridApiClient.
230230
231231
Args:
232-
components: set of components.
233232
bat_channel: battery channels to be returned from
234233
MicrogridApiClient.battery_data.
235234
inv_channel: inverter channels to be returned from

0 commit comments

Comments
 (0)