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
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:
@@ -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 "",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user