Skip to content

Commit ce16dbc

Browse files
author
Valentin Thorey
committed
Add default name for managed_folder
1 parent 8b1c5b5 commit ce16dbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dataikuapi/dss_plugin_mlflow/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
class MLflowHandle:
9-
def __init__(self, client, project_key, managed_folder, host=None):
9+
def __init__(self, client, project_key, managed_folder="mlflow_artifacts", host=None):
1010
""" Add the MLflow-plugin parts of dataikuapi to MLflow local setup.
1111
1212
This method deals with
@@ -56,6 +56,7 @@ def __init__(self, client, project_key, managed_folder, host=None):
5656
"DSS_MLFLOW_PROJECTKEY": project_key,
5757
"MLFLOW_TRACKING_URI": self.client.host + "/dip/publicapi" if host is None else host,
5858
"DSS_MLFLOW_HOST": self.client.host,
59+
"DSS_MLFLOW_MANAGED_FOLDER": managed_folder
5960
})
6061
os.environ.update(self.mlflow_env)
6162

0 commit comments

Comments
 (0)