Page MenuHomeSoftware Heritage

Simplify method generation of _ArchiveData.
ClosedPublic

Authored by vlorentz on Tue, Feb 11, 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

vlorentz created this revision.Tue, Feb 11, 2:36 PM
vlorentz updated this revision to Diff 9474.Tue, Feb 11, 2:38 PM

re-add comment

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