initial stage
This commit is contained in:
parent
3b27f4ea1c
commit
2fe306fdae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue