Skip to content

Commit 01018ee

Browse files
authored
Rename client method to list_microgrid_components_data (#46)
Renaming such that the name mirrors the name of the RPC.
2 parents 54b9345 + 3505735 commit 01018ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## New Features
1212

13-
* The client method `list_multiple_microgrid_components_data` is added to
13+
* The client method `list_microgrid_components_data` is added to
1414
expose the functionality of supporting arbitrary lists of microgrid-component IDs
1515
and metric IDs. It is intended to be as close as possible on the gRPC function call.
1616

src/frequenz/client/reporting/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ async def list_single_component_data(
158158
yield entry
159159

160160
# pylint: disable=too-many-arguments
161-
async def list_multiple_microgrid_components_data(
161+
async def list_microgrid_components_data(
162162
self,
163163
*,
164164
microgrid_components: list[tuple[int, list[int]]],

0 commit comments

Comments
 (0)