fixed argument for check_env function
Code Quality Pipeline / Check Code (pull_request) Failing after 2m25s
Code Quality Pipeline / Check Code (pull_request) Failing after 2m25s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user