Page MenuHomeSoftware Heritage

Review border case of empty response for `visit_nodes`
Closed, MigratedEdits Locked

Description

The resulting iterator seems to be yielding an empty object instead of getting an empty iterator directly.
For instance, see swh.provenance.swhgraph.archive where a double check was required to avoid errors

Event Timeline

aeviso updated the task description. (Show Details)
seirl triaged this task as Normal priority.Mar 29 2022, 3:16 PM

Obsoleted by the migration to GRPC. We no longer create iterators on the decoded stream of a UNIX pipeline, we directly use GRPC stream iterators.