Skip to content
Snippets Groups Projects
Commit 1facea3c authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

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.
parent 798f749e
No related branches found
No related tags found
1 merge request!321Setup async interface for discovery module
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment