Page MenuHomeSoftware Heritage

Add a get_hash helper method to Content.
ClosedPublic

Authored by vlorentz on Aug 19 2019, 2:35 PM.

Details

Summary

Code manipulating a Content object may want to access a hash
of configurable name; this method allows it to do that
without using getattr directly.

Diff Detail

Repository
rDMOD Data model
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.Aug 20 2019, 11:21 AM
This revision is now accepted and ready to land.Aug 20 2019, 11:38 AM
This revision was automatically updated to reflect the committed changes.