change all of the MeshMessages c-models from dataclasses to pydantic

This commit is contained in:
Laura Klünder 2024-02-27 18:25:18 +01:00
parent bd1a143d31
commit 0fd789173a
14 changed files with 1691 additions and 1628 deletions

View file

@ -82,7 +82,7 @@ def locate_test(request):
None
)
return {
"ranges": msg.parsed.tojson(msg.parsed)["ranges"],
"ranges": msg.parsed.model_dump()["ranges"],
"datetime": msg.datetime,
"location": location.serialize(simple_geometry=True) if location else None
}