We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a40c4e commit 44eaddfCopy full SHA for 44eaddf
dataikuapi/dssclient.py
@@ -792,8 +792,7 @@ def set_variables(self, variables):
792
793
"""
794
warnings.warn("set_variables is deprecated, please use get_global_variables().save()", DeprecationWarning)
795
- return self._perform_empty(
796
- "PUT", "/admin/variables/", body=variables)
+ return DSSInstanceVariables(self, variables).save()
797
798
799
########################################################
0 commit comments