mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-13 16:43:54 -05:00
12 lines
379 B
Python
12 lines
379 B
Python
|
|
from app.notify_client import NotifyAdminAPIClient
|
||
|
|
|
||
|
|
|
||
|
|
class PlatformStatsAPIClient(NotifyAdminAPIClient):
|
||
|
|
# Fudge assert in the super __init__ so
|
||
|
|
# we can set those variables later.
|
||
|
|
def __init__(self):
|
||
|
|
super().__init__("a" * 73, "b")
|
||
|
|
|
||
|
|
def get_aggregate_platform_stats(self, params_dict=None):
|
||
|
|
return self.get("/platform-stats", params=params_dict)
|