HomeSoftware Heritage

Setup async interface for discovery module

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

Description

Setup async interface for discovery module

This will allow us to use this interface in async code like `swh-scanner`.

Unfortunately, this means calling `asyncio.run` for sync code, but the
performance impact should be negligible.

The `swh_storage.*missing*` APIs are inconsistent for each type, which
requires a lot of boilerplate code. This should be addressed in a
follow-up.

Details

Provenance
AlphareAuthored on Sep 26 2022, 6:21 PM
AlpharePushed on Sep 28 2022, 5:54 PM
Differential Revision
D8538: Setup async interface for discovery module
Build Status
Buildable 31887
Build 49903: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.