We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9b441 commit 4a13f4aCopy full SHA for 4a13f4a
dataikuapi/dss/admin.py
@@ -169,6 +169,16 @@ def get_settings(self):
169
raw = self.client._perform_json("GET", "/admin/users/%s" % self.login)
170
return DSSUserSettings(self.client, self.login, raw)
171
172
+ def get_last_activity(self):
173
+ """
174
+ Gets the last activity of a user:
175
+ - his last successful login attempt
176
+ - his last failed login attempt
177
+ - his last load of DSS
178
+ :return: a dict
179
180
+ return self.client._perform_json("GET", "/admin/users/%s/activity" % self.login)
181
+
182
########################################################
183
# Legacy
184
0 commit comments