request and event data now returned as dataclasses

unit tests updated accordingly
This commit is contained in:
onyx-and-iris
2022-07-27 22:44:40 +01:00
parent f5c2293dce
commit 20851c3880
9 changed files with 52 additions and 25 deletions

View File

@@ -16,7 +16,7 @@ class Observer:
def on_current_program_scene_changed(self, data):
"""The current program scene has changed."""
print(f"{self.event_identifier}: {data}")
print(f"{self.event_identifier}: {data.scene_name}")
def version():