HomeSoftware Heritage

model: Add a check() method to model objects

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

model: Add a check() method to model objects

It calls attr.validate() (which calls the validators), and recomputes
the hash of HashableObject instances.

A future commit will also make it check the raw_manifest attribute
when relevant

Details

Provenance
vlorentzAuthored on Dec 8 2021, 4:24 PM
vlorentzPushed on Dec 14 2021, 11:12 AM
Differential Revision
D6799: model: Add a check() method to model objects
Build Status
Buildable 25613
Build 40051: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.