process_replay_objects now expects ModelObjects.
- Group Reviewers
- rDPROV94baaab052b9: Adapt fill_storage for swh.storage 0.40
Build is green
Patch application report for D6674 (id=24245)
Rebasing onto 30d8899bcf...
Current branch diff-target is up to date.
Changes applied before test
commit 94baaab052b9364bc74a9c563cc88808ccdb8bdc Author: Nicolas Dandrimont <firstname.lastname@example.org> Date: Tue Nov 23 15:30:39 2021 +0100 Adapt fill_storage for swh.storage 0.40
See https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/481/ for more details.
I've realized thanks to this fix that the type here can actually be refined to Dict[str, List[Any]]. Also in the declaration of fill_storage
And this function should have been removed before
I did almost the same but also considered
if object_type in OBJECT_FIXERS: dict_repr = OBJECT_FIXERS[object_type](dict_repr)
from ModelObjectDeserializer.convert. Hence, I wrote this in a separate function object_from_dict