This lets us generate Content objects directly from a bytestring, with the
proper set of hashes auto-generated from the contents.
Details
Details
- Reviewers
ardumont vlorentz - Group Reviewers
Reviewers - Commits
- rDMODded150d6c32e: Add a method to generate Content/SkippedContent from binary data
added tox tests
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/197/ for more details.
swh/model/model.py | ||
---|---|---|
411 | reason should default to None, and the function error if it's not set. |
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DMOD/job/tox/201/ for more details.
swh/model/model.py | ||
---|---|---|
392–399 | Maybe prepend an underscore? There's not reason for it to be used by other modules. |
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DMOD/job/tox/203/ for more details.
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DMOD/job/tox/205/ for more details.