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
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ This release replaces the `@actor` decorator with a new `Actor` class.
71
71
await run(actor, other_actor) # Start and await for all the actors
72
72
```
73
73
74
-
- The `MovingWindow` is now a `BackgroundService`, so it needs to be started manually with `await window.start()`. It is recommended to use it as an `async` context manager if possible though:
74
+
- The `MovingWindow` is now a `BackgroundService`, so it needs to be started manually with `window.start()`. It is recommended to use it as an `async` context manager if possible though:
75
75
76
76
```python
77
77
asyncwith MovingWindow(...) as window:
@@ -80,7 +80,7 @@ This release replaces the `@actor` decorator with a new `Actor` class.
80
80
# The moving window is stopped here
81
81
```
82
82
83
-
- The base actors (`ConfigManagingActor`, `ComponentMetricsResamplingActor`, `DataSourcingActor`, `PowerDistributingActor`) now inherit from the new `Actor`class, if you are using them directly, you need to start them manually with`awaitactor.start()`and you might need to do some other adjustments.
83
+
- The base actors (`ConfigManagingActor`, `ComponentMetricsResamplingActor`, `DataSourcingActor`, `PowerDistributingActor`) now inherit from the new `Actor`class, if you are using them directly, you need to start them manually with`actor.start()`and you might need to do some other adjustments.
84
84
85
85
- The `BatteryPool.power_distribution_results` method has been enhanced to provide power distribution results in the form of `Power` objects, replacing the previous use of `float` values.
0 commit comments