initial stage

This commit is contained in:
Giambattista Bloisi 2024-04-05 17:59:20 +02:00
parent 3b27f4ea1c
commit 2fe306fdae
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def trasform_product(p: dict) -> dict:
sorted(
map(lambda date: date.get('value'),
filter(lambda date: date.get('type') == 'publishing',
[date for m in p.get('manifestations') for date in m.get('dates')])))),
[date for m in (p.get('manifestations') or []) for date in (m.get('dates') or [])])))),
None)
return p