Skip to content

Commit df4d3da

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 1205ef1 commit df4d3da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/frequenz/client/microgrid/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99

1010
from ._client import (
11+
DEFAULT_CHANNEL_OPTIONS,
12+
DEFAULT_GRPC_CALL_TIMEOUT,
1113
MicrogridApiClient,
1214
Validity,
1315
)
@@ -43,6 +45,8 @@
4345
"ApiClientError",
4446
"ClientNotConnected",
4547
"ComponentId",
48+
"DEFAULT_CHANNEL_OPTIONS",
49+
"DEFAULT_GRPC_CALL_TIMEOUT",
4650
"DataLoss",
4751
"DeliveryArea",
4852
"EnergyMarketCodeType",

0 commit comments

Comments
 (0)