More import adjustments.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-07-02 16:00:58 -04:00
parent 8708d8ddce
commit c368d3d3f2
2 changed files with 2 additions and 7 deletions

View File

@@ -702,9 +702,7 @@ def get_specific_days_stats(results, start_date, days=None, end_date=None):
else:
raise ValueError("Either days or end_date must be set.")
grouped_results = {
date: [] for date in gen_range
} | {
grouped_results = {date: [] for date in gen_range} | {
day.date(): [notification_type, status, day, count]
for notification_type, status, day, count in results
}