refactor: moved messages to pydantic
Description
Moved bec message from dataclasses to pydantic. This is only the first step where I simply enforce matching input types. More data validation will come in a separate merge request.
Apart from the obvious changes to messages and serialization, most changes are limited to the tests case where the provided dummy data doesn't comply with the expected data types.
Definition of Done
-
Documentation is up-to-date. -
ophyd devices and bec widgets must be merged first
Edited by wakonig_k