Skip to content

Commit 5e4930a

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 ed58eda commit 5e4930a

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,
@@ -40,6 +44,8 @@
4044
"ApiClientError",
4145
"ClientNotConnected",
4246
"ComponentId",
47+
"DEFAULT_CHANNEL_OPTIONS",
48+
"DEFAULT_GRPC_CALL_TIMEOUT",
4349
"DataLoss",
4450
"DeliveryArea",
4551
"EnergyMarketCodeType",

0 commit comments

Comments
 (0)