Skip to content

Commit 00d329c

Browse files
authored
Merge pull request #58 from FusionAuth/bhalsey/eng-3656-faster-dashboard
Merge bhalsey/eng-3656-faster-dashboard
2 parents 6e6fed3 + f82717f commit 00d329c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/python/fusionauth/fusionauth_client.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3304,6 +3304,18 @@ def retrieve_total_report(self):
33043304
.get() \
33053305
.go()
33063306

3307+
def retrieve_total_report_with_excludes(self, excludes):
3308+
"""
3309+
Retrieves the totals report. This allows excluding applicationTotals from the report. An empty list will include the applicationTotals.
3310+
3311+
Attributes:
3312+
excludes: List of fields to exclude in the response. Currently only allows applicationTotals.
3313+
"""
3314+
return self.start().uri('/api/report/totals') \
3315+
.url_parameter('excludes', self.convert_true_false(excludes)) \
3316+
.get() \
3317+
.go()
3318+
33073319
def retrieve_two_factor_recovery_codes(self, user_id):
33083320
"""
33093321
Retrieve two-factor recovery codes for a user.

0 commit comments

Comments
 (0)