Skip to content

Commit b8db3f2

Browse files
committed
Revert "Fix call to unimplemented unset_weighting method"
This reverts commit 2638580.
1 parent 2638580 commit b8db3f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dataikuapi/dss/ml.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,7 @@ def remove_sample_weighting(self):
463463
Deprecated. Use unset_weighting() instead
464464
"""
465465
warnings.warn("remove_sample_weighting() is deprecated, please use set_weigthing(method=\"NO_WEIGHTING\") instead", DeprecationWarning)
466-
return self.set_weigthing(method="NO_WEIGHTING")
467-
466+
return self.unset_weighting()
468467

469468
class DSSClusteringMLTaskSettings(DSSMLTaskSettings):
470469
__doc__ = []

0 commit comments

Comments
 (0)