This prepares the removal of origin.type from swh.model
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDMOD7a9fc3964373: model: Don't export origin['type']
tox, with added round-trip test for origins
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/136/ for more details.
Comment Actions
I'm not sure that's a good idea. What about this:
if r['type'] is None: del r['type']