fixed bug when upserting annotations
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user