Skip to content

Commit 8b1c5b5

Browse files
Valentin Thoreylpenet
andauthored
Fix wrong reference to self
Co-authored-by: Ludovic Pénet <ludovic.penet@dataiku.com>
1 parent 2311a31 commit 8b1c5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dss_plugin_mlflow/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, client, project_key, managed_folder, host=None):
4545
b64encode("{}:".format(self.client._session.auth.username).encode("utf-8")).decode("utf-8")),
4646
"DSS_MLFLOW_APIKEY": self.client.api_key
4747
})
48-
elif self.internal_ticket:
48+
elif client.internal_ticket:
4949
self.mlflow_env.update({
5050
"DSS_MLFLOW_HEADER": "X-DKU-APITicket",
5151
"DSS_MLFLOW_TOKEN": self.client.internal_ticket,

0 commit comments

Comments
 (0)