Skip to content

Commit 7b3d0c3

Browse files
match changes to download url made on public api
1 parent 57c5840 commit 7b3d0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dataikuapi/dss/ml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,10 +1811,10 @@ def download_documentation_stream(self, export_id):
18111811
"""
18121812
if self.mltask is not None:
18131813
return self.mltask.client._perform_raw(
1814-
"GET", "/projects/%s/models/lab/download-documentation/%s" % (self.mltask.project_key, export_id))
1814+
"GET", "/projects/%s/models/lab/documentations/%s" % (self.mltask.project_key, export_id))
18151815
else:
18161816
return self.saved_model.client._perform_raw(
1817-
"GET", "/projects/%s/savedmodels/download-documentation/%s" % (self.saved_model.project_key, export_id))
1817+
"GET", "/projects/%s/savedmodels/documentations/%s" % (self.saved_model.project_key, export_id))
18181818

18191819
def download_documentation_to_file(self, export_id, path):
18201820
"""

0 commit comments

Comments
 (0)