mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
notify-api-412 use black to enforce python coding style
This commit is contained in:
@@ -2,8 +2,7 @@ from app.notify_client import NotifyAdminAPIClient, cache
|
||||
|
||||
|
||||
class PerformanceDashboardAPIClient(NotifyAdminAPIClient):
|
||||
|
||||
@cache.set('performance-stats-{start_date}-to-{end_date}', ttl_in_seconds=3600)
|
||||
@cache.set("performance-stats-{start_date}-to-{end_date}", ttl_in_seconds=3600)
|
||||
def get_performance_dashboard_stats(
|
||||
self,
|
||||
*,
|
||||
@@ -11,11 +10,11 @@ class PerformanceDashboardAPIClient(NotifyAdminAPIClient):
|
||||
end_date,
|
||||
):
|
||||
return self.get(
|
||||
'/performance-dashboard',
|
||||
"/performance-dashboard",
|
||||
params={
|
||||
'start_date': str(start_date),
|
||||
'end_date': str(end_date),
|
||||
}
|
||||
"start_date": str(start_date),
|
||||
"end_date": str(end_date),
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user