style: format new source implementations
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Failing after 4m33s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Has been skipped
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped

This commit is contained in:
Aleksandr Meshchryakov
2026-09-24 14:23:52 +02:00
parent 85a3c0650e
commit 0ad4e9fa05
5 changed files with 27 additions and 10 deletions

View File

@@ -268,8 +268,12 @@ def import_integrated_structures(
len(event.documents) for event in structure.events
),
"unique_documents_count": len(document_ids),
"first_event_date": min(event_dates) if event_dates else "",
"latest_event_date": max(event_dates) if event_dates else "",
"first_event_date": min(event_dates)
if event_dates
else "",
"latest_event_date": max(event_dates)
if event_dates
else "",
},
},
},