change all of the MeshMessages c-models from dataclasses to pydantic
This commit is contained in:
parent
bd1a143d31
commit
0fd789173a
14 changed files with 1691 additions and 1628 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue