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
+4 -2
View File
@@ -20,10 +20,12 @@ def save_dataset(
if __name__ == '__main__':
from dotenv import load_dotenv
load_dotenv('local.env')
from shared.database import list_names, connect
from shared.database import connect_mongodb, list_names
# connect to database
collection, db, client = connect()
collection, db, client = connect_mongodb()
print(client.server_info())
name_list = list_names(collection=collection, only_with_annotation=True)