Page MenuHomeSoftware Heritage

storage*: Add type annotation to origin_count
ClosedPublic

Authored by ardumont on Jul 31 2020, 2:51 PM.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D3671 (id=12918)

Could not rebase; Attempt merge onto 0eb309e02d...

Updating 0eb309e0..92f1183d
Fast-forward
 swh/storage/algos/origin.py | 21 +++++----------------
 swh/storage/in_memory.py    |  4 +++-
 swh/storage/interface.py    |  4 +++-
 swh/storage/storage.py      |  9 +++++++--
 4 files changed, 18 insertions(+), 20 deletions(-)
Changes applied before test
commit 92f1183de0c8da1b167b64e48be3e68460e138b4
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Jul 31 14:51:14 2020 +0200

    storage*: Add type annotation to origin_count
    
    Related to T645

commit 3466e48be8c5a8721f88d6fa6713f2cbd291eed4
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Jul 31 13:56:46 2020 +0200

    Reuse swh.core stream_results function
    
    Related to T645

See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/642/ for more details.

This revision is now accepted and ready to land.Jul 31 2020, 3:47 PM