Skip to content

Commit c9ddd5d

Browse files
committed
Client for licensing status API
1 parent f0c58de commit c9ddd5d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dataikuapi/dssclient.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,18 @@ def create_personal_api_key(self, label):
785785
return self._perform_json("POST", "/auth/personal-api-keys",
786786
params={"label": label})
787787

788+
########################################################
789+
# Licensing
790+
########################################################
791+
792+
def get_licensing_status(self):
793+
"""
794+
Returns a dictionary with information about licensing status of this DSS instance
795+
796+
:rtype dict
797+
"""
798+
return self._perform_json("GET", "/admin/licensing/status")
799+
788800
########################################################
789801
# Internal Request handling
790802
########################################################

0 commit comments

Comments
 (0)