fixed bug when upserting annotations

This commit is contained in:
Brian Bjarke Jensen
2024-02-24 22:41:27 +01:00
parent 47cae849ff
commit 59ad0104ad
+1 -1
View File
@@ -79,7 +79,7 @@ def upsert_annotations(
"name": vis_com_name
}
update = {
"annotation": annotations.model_dump()
"$set": { "annotation": annotations.model_dump() }
}
res = collection.update_one(
filter=query,