Page MenuHomeSoftware Heritage

model: make to_dict() properly recursive
ClosedPublic

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

Details

Summary

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

Test Plan

tox output is unchanged

Diff Detail

Repository
rDMOD Data model
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 8627
Build 12543: tox-on-jenkinsJenkins
Build 12542: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Oct 23 2019, 2:21 PM
This revision was automatically updated to reflect the committed changes.