Skip to content

Commit

Permalink
Update import of all merlin.config to be in the function
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannova committed Aug 7, 2024
1 parent a9bd865 commit ddc7614
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions merlin/study/celerymanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
import psutil
import redis

from merlin.config.results_backend import get_backend_password


class WorkerStatus:
running = "Running"
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ddc7614

Please sign in to comment.