fixed argument for check_env function
Code Quality Pipeline / Check Code (pull_request) Failing after 2m25s

This commit is contained in:
brian
2024-10-20 18:46:32 +00:00
parent 78363988f7
commit 312f525a46
6 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ from pymongo.collection import Collection
from shared.data_store import connect_minio, put
from shared.database import VisualCommunication, connect_mongodb
from shared.utils import check_env, setup_logging
from web_ui.src.main import NECESSARY_ENV_VAR_LIST
def list_mongo_document_ids(
@@ -76,7 +77,7 @@ if __name__ == '__main__':
assert env_path.exists()
load_dotenv(env_path)
# ensure env vars set
check_env()
check_env(NECESSARY_ENV_VAR_LIST)
# setup logging
setup_logging()
# connect to minIO