Use pydantic models for Task data (fixes: #290)

Further steps:

  • convert enum names to uppercase
  • add docstrings
  • fix code coverage
  • fix mypy issues except for Task.data being optional
  • add deprecationwarnings for dict accessors
  • make Task.data not Optional, possibly passing task data to Task.__init__. (possibly in another issue/MR)
Edited by Enrico Zini

Merge request reports

Loading