fixed mypy types
CI Pipeline / Test (pull_request) Successful in 2m23s
CI Pipeline / Build and Publish (./Dockerfile.model, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/model) (pull_request) Successful in 7m3s
CI Pipeline / Build and Publish (./Dockerfile.web_ui, ${{ vars.docker_repo_url }}/${{ gitea.repository }}/web_ui) (pull_request) Successful in 6m13s

This commit is contained in:
brian
2024-10-19 21:37:08 +00:00
parent 7fc4d20262
commit ba0fc050fe
14 changed files with 30 additions and 30 deletions
+2 -3
View File
@@ -6,8 +6,7 @@ from dotenv import load_dotenv
from pymongo.errors import DuplicateKeyError
from shared.data_store import connect_minio
from shared.database import VisualCommunication
from shared.database import connect as connect_mongo
from shared.database import VisualCommunication, connect_mongodb
from shared.utils import check_env, setup_logging
if __name__ == '__main__':
@@ -22,7 +21,7 @@ if __name__ == '__main__':
# connect to minIO
minio_client = connect_minio()
# connect to MongoDB
collection, db, client = connect_mongo()
collection, db, client = connect_mongodb()
# get list of image paths
ext_img_dir = Path('/Volumes/BW-PSSD/Mixed Methods/')
assert ext_img_dir.exists()