diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 6c0e4427..bc40e0e6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -15,6 +15,7 @@ * Add more edge cases to the integration tests. * Add idiomatic string representations for `Power` and `Price` classes. * Add support for timeouts in the gRPC function calls +* Export Client constants for external use ## Bug Fixes diff --git a/src/frequenz/client/electricity_trading/__init__.py b/src/frequenz/client/electricity_trading/__init__.py index 5479299a..fe86b8af 100644 --- a/src/frequenz/client/electricity_trading/__init__.py +++ b/src/frequenz/client/electricity_trading/__init__.py @@ -179,7 +179,14 @@ async def stream_trades(): """ -from ._client import Client +from ._client import ( + MAX_PRICE, + MIN_PRICE, + MIN_QUANTITY_MW, + PRECISION_DECIMAL_PRICE, + PRECISION_DECIMAL_QUANTITY, + Client, +) from ._types import ( Currency, DeliveryArea, @@ -231,4 +238,9 @@ async def stream_trades(): "StateReason", "Trade", "TradeState", + "MAX_PRICE", + "MIN_PRICE", + "MIN_QUANTITY_MW", + "PRECISION_DECIMAL_QUANTITY", + "PRECISION_DECIMAL_PRICE", ]