added database util functions
This commit is contained in:
Regular → Executable
+1
-1
@@ -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,
|
||||
|
||||
Regular → Executable
+1
-1
@@ -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,
|
||||
|
||||
Regular → Executable
Reference in New Issue
Block a user