Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# Frequenz Microgrid Component Graph Library Release Notes

## Summary

<!-- Here goes a general summary of what this release is about -->

## Upgrading

<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->

## New Features

<!-- Here goes the main new features and examples or instructions on how to use them -->

## Bug Fixes

<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
- It is now possible to create subclasses of the `ComponentGraph` and `ComponentGraphConfig` classes from python.
4 changes: 2 additions & 2 deletions src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use pyo3::{
types::{PyAny, PySet, PyType},
};

#[pyclass]
#[pyclass(subclass)]
#[derive(Clone, Default, Debug)]
pub struct ComponentGraphConfig {
config: cg::ComponentGraphConfig,
Expand Down Expand Up @@ -49,7 +49,7 @@ impl ComponentGraphConfig {
}
}

#[pyclass]
#[pyclass(subclass)]
pub struct ComponentGraph {
graph: cg::ComponentGraph<Component, Connection>,
}
Expand Down