Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Differential
D108
Diff 366
swh/storage/vault/api/client.py
Changeset View
I see those same (or equivalent) snippets in swh.storage.api.client.RemoteStorage, swh.objstorage.api.client.RemoteObjStorage.
Can't we factorize those methods (url, post, get seems new) say in a base class somewhere?
swh.objstorage seems appropriate for this since swh-storage already depends on it.