You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename microgrid.*_pool constructors to new_*_pool (#979)
This makes it explicit that each call to these functions create a new
instance of the `*Pool` class, which would hopefully encourage users
to hold on to references to the created objects, rather than create
and discard after each use.
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,10 @@
6
6
7
7
## Upgrading
8
8
9
-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
9
+
- The `frequenz.sdk.microgrid.*_pool` methods has been renamed to `new_*_pool`, to make it explicit that they create new instances of the pool classes.
0 commit comments