This breaks the current protocol, but deduplicates the code, and will allow
for the addition of extra custom encoders/decoders by callers of this module.
Details
Details
- Reviewers
olasd - Group Reviewers
Reviewers - Commits
- rDCORE6c5e89a4e029: Change msgpack serialization to be closer to the JSON one.
Diff Detail
Diff Detail
- Repository
- rDCORE Foundations and core functionalities
- 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/DCORE/job/tox/408/ for more details.
Comment Actions
Have you tested remote apis with these changes? They look sound, but I guess better coverage would actually come from that.
swh/core/api/serializers.py | ||
---|---|---|
35 | I guess now that we're making a protocol break, it'd be a good time to switch over to iso8601, or at least dateutil.parser.isoparse, instead of letting ourselves parse garbage. |