HomeSoftware Heritage

Don't pass non-sequence iterables to the storage API.

Description

Don't pass non-sequence iterables to the storage API.

The RPC framework can't serialize them.

Also adding the StorageInterface type annotation, so that this becomes
type-checked with swh.core>v0.1.2 and swh.storage>v0.11.5.

Details

Provenance
vlorentzAuthored on Jul 29 2020, 10:43 AM
vlorentzPushed on Jul 29 2020, 10:47 AM
Differential Revision
D3638: Don't pass non-sequence iterables to the storage API.
Parents
rDLDBASE04455fbe16ff: Apply rename of object_metadata to raw_extrinsic_metadata.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 14030
Build 21537: test-and-buildJenkins console · Jenkins