update to pydantic v2.2
in this MR, we implement the pydantic migration guide and update deprogressapi
to pydantic v2.2
this depends on some changes in the demessaging
project
note that in this MR I did not migrate the demessaging.types
submodule. my plan is to get rid of that in another MR
see dasf-progress-api!10
Edited by Philipp S. Sommer