diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index b0f860d..0e2fa3c 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,18 +2,7 @@ ## Summary -This API interface's client requires the SDK, which depends on -frequenz-api-common in the version range of 0.3.0 to < 0.4.0. However, -electricity_trading.proto needs some proto files from frequenz-api-common, -which are only available from version 0.5.0. This discrepancy creates -a dependency conflict. To resolve this, the current PR incorporates -the required protos directly from the frequenz-api-common repository and -stores them locally. This approach eliminates the dependency on the common -repository for the time being, until the SDK is updated to a newer version -of frequenz-api-common. - -A couple of additions were also made to the `__init__` and `_types.py` files. - + ## Upgrading @@ -21,10 +10,8 @@ A couple of additions were also made to the `__init__` and `_types.py` files. ## New Features -* Addition of missing types to the `__init__` file -* Addition of missing `to_pb()` methods in the `_types.py` file + ## Bug Fixes -* Remove dependency conflict on `frequenz-api-common` by adding it locally -* Add a py.typed file +* Fix bug type for `EnergyMarketCodeType` diff --git a/py/frequenz/client/electricity_trading/_types.py b/py/frequenz/client/electricity_trading/_types.py index 8efbf63..df1f75f 100644 --- a/py/frequenz/client/electricity_trading/_types.py +++ b/py/frequenz/client/electricity_trading/_types.py @@ -209,7 +209,7 @@ class DeliveryArea: code: str """Code representing the unique identifier for the delivery area.""" - code_type: delivery_area_pb2.EnergyMarketCodeType.ValueType + code_type: EnergyMarketCodeType """Type of code used for identifying the delivery area itself.""" @classmethod