Skip to content

Commit 84f272d

Browse files
committed
add param to call to get usage summary
1 parent 4786349 commit 84f272d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dataikuapi/dssclient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,14 +746,14 @@ def log_custom_audit(self, custom_type, custom_params=None):
746746
# Monitoring
747747
########################################################
748748

749-
def get_global_usage_summary(self):
749+
def get_global_usage_summary(self, with_per_project=False):
750750
"""
751751
Summarize the contents of the instance
752752
753753
:returns: a summary object
754754
"""
755755
return self._perform_json(
756-
"GET", "/admin/monitoring/global-usage-summary")
756+
"GET", "/admin/monitoring/global-usage-summary", params={'withPerProject':with_per_project})
757757

758758
########################################################
759759
# Variables

0 commit comments

Comments
 (0)