HomeSoftware Heritage

model: make to_dict() properly recursive

Authored by olasd on Oct 23 2019, 1:55 PM.

Description

model: make to_dict() properly recursive

Instead of relying on attr.asdict recursion, we do recursion ourselves. This
simplifies a lot of the inherited to_dict() methods.

Details

Committed
olasdOct 23 2019, 2:22 PM
Pushed
olasdOct 23 2019, 2:27 PM
Differential Revision
D2174: model: make to_dict() properly recursive
Parents
rDMOD2e4558c0d2d5: test_cli.py: fill in valid snapshot ID
Branches
Unknown
Tags
Unknown
References
tag: v0.0.49
Build Status
Buildable 8628
Build 12544: test-and-buildJenkins