reformat up to latest version of black

This commit is contained in:
Kenneth Kehl
2024-04-01 15:12:33 -07:00
parent 87db56622e
commit ebdb78e52e
241 changed files with 334 additions and 92 deletions

View File

@@ -38,9 +38,11 @@ def get_paginated_uploads(service_id, limit_days, page):
"id": upload.id,
"original_file_name": upload.original_file_name,
"notification_count": upload.notification_count,
"created_at": upload.scheduled_for.strftime("%Y-%m-%d %H:%M:%S")
if upload.scheduled_for
else upload.created_at.strftime("%Y-%m-%d %H:%M:%S"),
"created_at": (
upload.scheduled_for.strftime("%Y-%m-%d %H:%M:%S")
if upload.scheduled_for
else upload.created_at.strftime("%Y-%m-%d %H:%M:%S")
),
"upload_type": upload.upload_type,
"template_type": upload.template_type,
"recipient": upload.recipient,