Skip to content

Commit 217698b

Browse files
committed
fix type of model-snippets call
1 parent eb5c4b6 commit 217698b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dss/ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def get_trained_model_snippet(self, id=None, ids=None):
508508
obj = {}
509509

510510
ret = self.client._perform_json(
511-
"POST", "/projects/%s/models/lab/%s/%s/models-snippets" % (self.project_key, self.analysis_id, self.mltask_id),
511+
"GET", "/projects/%s/models/lab/%s/%s/models-snippets" % (self.project_key, self.analysis_id, self.mltask_id),
512512
body = obj)
513513
if id is not None:
514514
return ret[id]

0 commit comments

Comments
 (0)