Skip to content

Commit 7d7deff

Browse files
committed
Avoid usage of dummy password
1 parent 85bad98 commit 7d7deff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

graphdatascience/model/kge_runner.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,13 @@ def train(
6666
"task": "KGE_TRAINING_PYG",
6767
"task_config": {
6868
"graph_config": graph_config,
69-
"modelname": "dummmy_model_name",
69+
"modelname": "dummmy_model_name"+str(time.time()),
7070
"task_config": algo_config,
7171
},
72-
# "encrypted_db_password": self._encrypted_db_password,
7372
"graph_arrow_uri": self._arrow_uri,
7473
}
74+
if self._encrypted_db_password is not None:
75+
config["encrypted_db_password"] = self._encrypted_db_password
7576

7677
if mlflow_experiment_name is not None:
7778
config["task_config"]["mlflow"] = {

0 commit comments

Comments
 (0)