Skip to content

Commit 93c66ed

Browse files
committed
Expose client constants
`DEFAULT_GRPC_CALL_TIMEOUT` could be potentially tuned by the user and `DEFAULT_CHANNEL_OPTIONS` is important as documentation for the defaults. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 2d806b0 commit 93c66ed

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/frequenz/client/microgrid/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"""
88

99

10-
from ._client import MicrogridApiClient
10+
from ._client import (
11+
DEFAULT_CHANNEL_OPTIONS,
12+
DEFAULT_GRPC_CALL_TIMEOUT,
13+
MicrogridApiClient,
14+
)
1115
from ._delivery_area import DeliveryArea, EnergyMarketCodeType
1216
from ._exception import (
1317
ApiClientError,
@@ -38,6 +42,8 @@
3842
__all__ = [
3943
"ApiClientError",
4044
"ClientNotConnected",
45+
"DEFAULT_CHANNEL_OPTIONS",
46+
"DEFAULT_GRPC_CALL_TIMEOUT",
4147
"DataLoss",
4248
"DeliveryArea",
4349
"EnergyMarketCodeType",

0 commit comments

Comments
 (0)