Skip to content
Snippets Groups Projects
Commit e10ecb92 authored by Wernle, Alexandra Nicole's avatar Wernle, Alexandra Nicole
Browse files

Pydantic v2 requires model_dump

parent 5f0c832b
No related branches found
No related tags found
1 merge request!344New MetadataAlgorithm, SpikesAlgorithm, and flag-spikes application
......@@ -72,7 +72,7 @@ class MetadataAlgorithm(BaseModel):
created_by=created_by,
starttime=starttime,
endtime=endtime,
metadata=metadata_class(**metadata_dict),
metadata=(metadata_class(**metadata_dict)).model_dump(),
network=network,
channel=channel,
location=location,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment