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.
Differential D2646
Simplify method generation of _ArchiveData. vlorentz on Feb 11 2020, 2:36 PM. Authored by Tags None Subscribers None
Details
Use a getattr like storage proxies do. This will also be required when the validation proxy of swh-storage is merged,
Diff Detail
Event TimelineComment Actions Build was aborted Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/923/ Comment Actions Build was aborted Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/cypress-diff/531/ Comment Actions Build is green Comment Actions Build is green |