We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7062cfa + 8298cb9 commit d3d6c3eCopy full SHA for d3d6c3e
1 file changed
dataikuapi/dssclient.py
@@ -990,6 +990,17 @@ def get_licensing_status(self):
990
"""
991
return self._perform_json("GET", "/admin/licensing/status")
992
993
+ def set_license(self, license):
994
+ """
995
+ Sets a new licence for DSS
996
+
997
+ :param license: license (content of license file)
998
+ :return: None
999
1000
+ self._perform_empty(
1001
+ "POST", "/admin/licensing/license", raw_body=license)
1002
1003
1004
########################################################
1005
# Internal Request handling
1006
0 commit comments