This avoids duplication which is growing (right now storage and search proposes
the same pattern in different functions).
Related to T645
Differential D3664
api.classes: Open swh.core.api.classes.stream_results ardumont on Jul 31 2020, 12:58 PM. Authored by
Details
This avoids duplication which is growing (right now storage and search proposes Related to T645 tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3664 (id=12898)Rebasing onto d639fa9f97... Current branch diff-target is up to date. Changes applied before testcommit cd5fab9366b4f5913e44f58e7ec451b985c2fb07 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Jul 31 12:58:30 2020 +0200 api.classes: Open swh.core.api.classes.stream_results This avoids duplication which is growing (right now storage and search proposes the same pattern in different functions). Related to T645 See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/33/ for more details. Comment Actions Great, thanks. Could you also add a test for when page_result.results is empty?
Comment Actions Adapt according to review:
Comment Actions Build is green Patch application report for D3664 (id=12904)Rebasing onto d639fa9f97... Current branch diff-target is up to date. Changes applied before testcommit 6d49f04a6b84d365799d00f85fc4ab2aa15b6537 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Jul 31 12:58:30 2020 +0200 api.classes: Open swh.core.api.classes.stream_results This avoids duplication which is growing (right now storage and search proposes the same pattern in different functions). Related to T645 See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/34/ for more details. |