Switch to use Pydantic models
Summary of Changes
Switched config to Pydantic. Still reads/writes the files as it was before. I did not get rid of passing dictionaries to bindings completely - we need to think about keeping them, especially in case there is no gui elements and no changing values back to model.
Still need to think how to track wrong values in UI and disable running jobs/saving config. Can be another MR.
Checklist
-
The MR has a clear and concise title -
Code is self-documented and follows style guidelines. -
Automated tests are written and pass successfully. -
Regression tests (e.g. manually triggered system tests, manual GUI/tool tests, ...) are performed to make sure the MR does not break anything (when applicable) -
Readme file is present and up-to-date.
Documentation Updates
Additional Notes
Closes #31 (closed)