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

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.