Skip to content

Commit

Permalink
fix: add mapping to DayAheadConfiguration (#325)
Browse files Browse the repository at this point in the history
* fix: add mapping to DayAheadConfiguration

* feat: regenerated SDK and bumped version
  • Loading branch information
nodegard authored Mar 4, 2024
1 parent ab00e58 commit a627d4d
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [0.88.7] - 2024-03-04
### Added
* Added the property `Mapping` to the `DayAheadConfiguration` data model.

## [0.88.6] - 2024-02-27
### Added
* Added the property `MarketConfiguration` to the `ShopPartialBidCalculationInput` view.
Expand Down
2 changes: 1 addition & 1 deletion cognite/powerops/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.88.6"
__version__ = "0.88.7"
4 changes: 2 additions & 2 deletions cognite/powerops/client/_generated/afrr_bid/_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class AFRRBidAPI:
Generated with:
pygen = 0.99.11
cognite-sdk = 7.20.0
pydantic = 2.6.1
cognite-sdk = 7.26.0
pydantic = 2.6.3
Data Model:
space: power-ops-afrr-bid
Expand Down
4 changes: 2 additions & 2 deletions cognite/powerops/client/_generated/assets/_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class PowerAssetAPI:
Generated with:
pygen = 0.99.11
cognite-sdk = 7.20.0
pydantic = 2.6.1
cognite-sdk = 7.26.0
pydantic = 2.6.3
Data Model:
space: power-ops-assets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class DayAheadBidAPI:
Generated with:
pygen = 0.99.11
cognite-sdk = 7.20.0
pydantic = 2.6.1
cognite-sdk = 7.26.0
pydantic = 2.6.3
Data Model:
space: power-ops-day-ahead-bid
Expand Down
6 changes: 4 additions & 2 deletions cognite/powerops/client/_generated/v1/_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ def __init__(self, client: CogniteClient):
data_classes.BidMethodWaterValue: dm.ViewId("sp_powerops_models", "BidMethodWaterValue", "1"),
data_classes.Generator: dm.ViewId("sp_powerops_models", "Generator", "1"),
data_classes.GeneratorEfficiencyCurve: dm.ViewId("sp_powerops_models", "GeneratorEfficiencyCurve", "1"),
data_classes.Mapping: dm.ViewId("sp_powerops_models", "Mapping", "1"),
data_classes.MarketConfiguration: dm.ViewId("sp_powerops_models", "MarketConfiguration", "1"),
data_classes.Plant: dm.ViewId("sp_powerops_models", "Plant", "1"),
data_classes.PlantShop: dm.ViewId("sp_powerops_models", "PlantShop", "1"),
Expand All @@ -300,6 +301,7 @@ def __init__(self, client: CogniteClient):
self.bid_method_water_value = BidMethodWaterValueAPI(client, view_by_read_class)
self.generator = GeneratorAPI(client, view_by_read_class)
self.generator_efficiency_curve = GeneratorEfficiencyCurveAPI(client, view_by_read_class)
self.mapping = MappingAPI(client, view_by_read_class)
self.market_configuration = MarketConfigurationAPI(client, view_by_read_class)
self.plant = PlantAPI(client, view_by_read_class)
self.plant_shop = PlantShopAPI(client, view_by_read_class)
Expand Down Expand Up @@ -433,8 +435,8 @@ class PowerOpsModelsV1Client:
Generated with:
pygen = 0.99.11
cognite-sdk = 7.20.0
pydantic = 2.6.1
cognite-sdk = 7.26.0
pydantic = 2.6.3
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ views:
space: "{{powerops_models}}"
type: view
version: "{{version}}"
- externalId: Mapping
space: "{{powerops_models}}"
type: view
version: "{{version}}"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cognite-power-ops"
version = "0.88.6"
version = "0.88.7"
description = "SDK for power markets operations on Cognite Data Fusion"
readme = "README.md"
authors = ["Cognite <[email protected]>"]
Expand Down

0 comments on commit a627d4d

Please sign in to comment.