this function does not need to be a local function of the to_dict namespace.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDMOD0a6d7e050d2c: Extract the dictify() function from BaseModel.to_dict()
Diff Detail
Diff Detail
- Repository
- rDMOD Data model
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DMOD/job/tox/209/ for more details.
Comment Actions
I do rely on nothing, just extracting a function ;-)
Now, I guess swh.model.model tests should be enough to cover this simple helper function. I do not see real value in adding tests here, other than for the sake of unit-ness of said tests.