Page MenuHomeSoftware Heritage

Simplify method generation of _ArchiveData.
ClosedPublic

Authored by vlorentz on Feb 11 2020, 2:36 PM.

Details

Summary

Use a getattr like storage proxies do.

This will also be required when the validation proxy of swh-storage is merged,
as this proxy uses getattr, so inspect.getmembers() does not return all
method names that can be called.

Diff Detail

Event Timeline

This revision is now accepted and ready to land.Feb 11 2020, 2:41 PM
This revision was landed with ongoing or failed builds.Feb 11 2020, 4:07 PM
This revision was automatically updated to reflect the committed changes.