removed unused object

This commit is contained in:
Brian Bjarke Jensen
2024-03-17 18:19:29 +01:00
parent a7f2f67d05
commit 6fec85adfe
2 changed files with 7 additions and 90 deletions
+3 -3
View File
@@ -4,9 +4,9 @@ import logging
from pymongo.collection import Collection
from .classes import ModelOutputs
from .classes import NoDocumentFoundException
from .classes import VisualCommunication
from core.dto import ModelData
def count_documents(
@@ -97,7 +97,7 @@ def get_visual_communication(
def upsert_predictions(
collection: Collection,
vis_com_name: str,
predictions: ModelOutputs,
predictions: ModelData,
) -> None:
"""Upsert prediction data in the database."""
query = {
@@ -120,7 +120,7 @@ def upsert_predictions(
def upsert_annotations(
collection: Collection,
vis_com_name: str,
annotations: ModelOutputs,
annotations: ModelData,
) -> None:
"""Upserts annotation data in the database."""
query = {