HomeSoftware Heritage

model: make model entities frozen

Description

model: make model entities frozen

we do not really need them to be mutable, plus we gain their instances now
being hashable, so we can add them in set() for example.

Details

Provenance
douarddaAuthored on Oct 29 2019, 2:33 PM
douarddaPushed on Oct 30 2019, 9:27 AM
Differential Revision
D2190: model: make model entities frozen
Parents
rDMOD4b79a2b0b7ca: model: make to_dict() properly recursive
Branches
Unknown
Tags
Unknown
Build Status
Buildable 8691
Build 12655: test-and-buildJenkins