fixed argument types
This commit is contained in:
@@ -14,8 +14,8 @@ from pymongo.collection import Collection
|
||||
|
||||
from shared.datastore import delete as delete_from_minio
|
||||
from shared.mongodb import count_documents, get_visual_communication, upsert_annotation
|
||||
from shared.mongodb.classes import ModelData, VisualCommunication
|
||||
from shared.mongodb.exceptions import NoDocumentFoundException
|
||||
from shared.mongodb.src.classes import ModelData, VisualCommunication
|
||||
from shared.mongodb.src.exceptions import NoDocumentFoundException
|
||||
|
||||
from .layout import app_layout
|
||||
|
||||
@@ -146,8 +146,10 @@ def init_app(
|
||||
logging.debug(exc)
|
||||
failed_filename_list.append(filename)
|
||||
# remove document from minio
|
||||
bucket_name = os.getenv('MINIO_BUCKET_NAME', default='')
|
||||
delete_from_minio(
|
||||
client=minio_client,
|
||||
bucket_name=bucket_name,
|
||||
object_name=vis_com.object_name,
|
||||
)
|
||||
assert (
|
||||
|
||||
Reference in New Issue
Block a user