Currently messages are passed via the api and the worker process as dictionaries with constant values as keys.
These messages can trivially be replaced with a dedicated dataclass simplifying code usage and allowing the IDE some static analysis and type hints.
AC:
eliminate the message dictionary and replace it with a dataclass
Currently messages are passed via the api and the worker process as dictionaries with constant values as keys. These messages can trivially be replaced with a dedicated dataclass simplifying code usage and allowing the IDE some static analysis and type hints.
AC: