mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
This removes some code which is duplicative and obscure (ie it’s not very clear why we do `"a" * 73` even though there is a Very Good Reason for doing so).
11 lines
286 B
Python
11 lines
286 B
Python
from app.notify_client import NotifyAdminAPIClient
|
|
|
|
|
|
class PlatformStatsAPIClient(NotifyAdminAPIClient):
|
|
|
|
def get_aggregate_platform_stats(self, params_dict=None):
|
|
return self.get("/platform-stats", params=params_dict)
|
|
|
|
|
|
platform_stats_api_client = PlatformStatsAPIClient()
|