HomeSoftware Heritage

core.loader: Fix Iterable/List typing issues

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

core.loader: Fix Iterable/List typing issues

  1. origin_visit_add returns an iterable, not a sequence
  2. starting with v0.11.6, _add() endpoints now require a List instead of an Iteralble.

All these will trigger type warning with swh.core > 0.2.0,
as it will no longer hide the signature of storage endpoints
from mypy

Details

Provenance
vlorentzAuthored on Jul 30 2020, 7:00 PM
vlorentzPushed on Jul 30 2020, 7:15 PM
Differential Revision
D3656: core.loader: Fix Iterable/List typing issues.
Build Status
Buildable 14110
Build 21670: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.