Skip to content

Commit 1af6457

Browse files
committed
fix(client): Update exception reference in Assets API client documentation
- Corrected the reference to the `GrpcError` class in the docstring of the `get_microgrid_details` method to point to the appropriate module. - This change improves the accuracy of the documentation and helps users understand the error handling better. Signed-off-by: eduardiazf <[email protected]>
1 parent f40af0f commit 1af6457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/client/assets/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async def get_microgrid_details( # noqa: DOC502 (raises ApiClientError indirect
7575
7676
Raises:
7777
ApiClientError: If there are any errors communicating with the Assets API,
78-
most likely a subclass of [GrpcError][frequenz.client.assets.GrpcError].
78+
most likely a subclass of [GrpcError][frequenz.client.base.exception.GrpcError].
7979
"""
8080
request = assets_pb2.GetMicrogridRequest(microgrid_id=microgrid_id)
8181
response = await call_stub_method(

0 commit comments

Comments
 (0)