added database util functions

This commit is contained in:
Brian Bjarke Jensen
2024-04-03 20:58:55 +02:00
parent 0a3a07da12
commit f983145dfb
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ from pymongo.collection import Collection
from core.dto import ModelData
def upsert_annotations(
def upsert_annotation(
collection: Collection,
vis_com_name: str,
annotations: ModelData,
+1 -1
View File
@@ -7,7 +7,7 @@ from pymongo.collection import Collection
from core.dto import ModelData
def upsert_predictions(
def upsert_prediction(
collection: Collection,
vis_com_name: str,
predictions: ModelData,
View File