Skip to content

Commit

Permalink
add get function
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed May 11, 2024
1 parent 9146fd4 commit 55ecf47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/v1/rainbow/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, host="localhost:50051", config_file=None, database=None):
Create a new rainbow client to interact with a rainbow cluster.
"""
self.cfg = config.RainbowConfig(config_file)
self.host = self.cfg.get("scheduler", {}).get("host") or host
self.host = self.cfg.get("graphdatabase", {}).get("options", {}).get("host") or host

# load the graph database backend
self.set_database(database)
Expand Down

0 comments on commit 55ecf47

Please sign in to comment.