Skip to content

Use pydantic models in server responses

Currently server code mostly still returns dictionaries (e.g. to_dict methods of database classes). These should be changed to use their respective pydantic model, wherever applicable.