HomeSoftware Heritage

model: Replace attrs-strict with stricter validation

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

Description

model: Replace attrs-strict with stricter validation

This reimplements attrs_strict.type_validator(), using type equality
instead of isinstance.

This makes my checksum validation script (that mostly just instantiates
model objects, computes a checksum, then discard) run twice as fast.

Details

Provenance
vlorentzAuthored on Sep 24 2021, 2:24 PM
vlorentzPushed on Sep 29 2021, 3:52 PM
Differential Revision
D6341: model: Replace attrs-strict with stricter validation
Build Status
Buildable 24108
Build 37615: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.