Skip to content

Commit df2f8a1

Browse files
committed
Remove unused async keyword from Dispatcher.start
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 27252a8 commit df2f8a1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This release introduces a more flexible and powerful mechanism for managing disp
66

77
## Upgrading
88

9+
* `Dispatcher.start` is no longer `async`. Remove `await` when calling it.
910
* Two properties have been replaced by methods that require a type as parameter.
1011
* `Dispatcher.lifecycle_events` has been replaced by the method `Dispatcher.new_lifecycle_events_receiver(self, dispatch_type: str)`.
1112
* `Dispatcher.running_status_change` has been replaced by the method `Dispatcher.new_running_state_event_receiver(self, dispatch_type: str, unify_running_intervals: bool)`.

src/frequenz/dispatch/_dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def __init__(
179179
self._client,
180180
)
181181

182-
async def start(self) -> None:
182+
def start(self) -> None:
183183
"""Start the local dispatch service."""
184184
self._bg_service.start()
185185

0 commit comments

Comments
 (0)