fixed bug when upserting annotations
This commit is contained in:
@@ -79,7 +79,7 @@ def upsert_annotations(
|
|||||||
"name": vis_com_name
|
"name": vis_com_name
|
||||||
}
|
}
|
||||||
update = {
|
update = {
|
||||||
"annotation": annotations.model_dump()
|
"$set": { "annotation": annotations.model_dump() }
|
||||||
}
|
}
|
||||||
res = collection.update_one(
|
res = collection.update_one(
|
||||||
filter=query,
|
filter=query,
|
||||||
|
|||||||
Reference in New Issue
Block a user