notify-api-412 use black to enforce python coding style

This commit is contained in:
Kenneth Kehl
2023-08-25 09:12:23 -07:00
parent c6eb007386
commit 8c9721d8e2
201 changed files with 31660 additions and 28105 deletions

View File

@@ -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),
},
)