From ddc76142b61c4d2837a60339965d8a8d004ed95f Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Wed, 7 Aug 2024 14:13:05 -0700 Subject: [PATCH] Update import of all merlin.config to be in the function --- merlin/study/celerymanager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/merlin/study/celerymanager.py b/merlin/study/celerymanager.py index ebc1924f..6f2e697a 100644 --- a/merlin/study/celerymanager.py +++ b/merlin/study/celerymanager.py @@ -35,8 +35,6 @@ import psutil import redis -from merlin.config.results_backend import get_backend_password - class WorkerStatus: running = "Running" @@ -89,6 +87,7 @@ def get_redis_connection(db_num): :return Redis: Redis connections object that can be used to access values for the manager. """ from merlin.config.configfile import CONFIG + from merlin.config.results_backend import get_backend_password password_file = CONFIG.results_backend.password try: