Merge ~andrey-fedoseev/lazr.restful:allow-none-for-lists into lazr.restful:main
Proposed by
Andrey Fedoseev
Status: | Merged |
---|---|
Merged at revision: | 27df283b947ba7d52a4090c1dc782269fc09ecf7 |
Proposed branch: | ~andrey-fedoseev/lazr.restful:allow-none-for-lists |
Merge into: | lazr.restful:main |
Diff against target: |
93 lines (+19/-5) 5 files modified
.pre-commit-config.yaml (+1/-1) NEWS.rst (+5/-3) setup.py (+1/-1) src/lazr/restful/docs/webservice-marshallers.rst (+9/-0) src/lazr/restful/marshallers.py (+3/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+423759@code.launchpad.net |
Commit message
The collection marshallers can now unmarshall None
Description of the change
The collection marshallers (list, set, tuple) will now correctly
unmarshall `None` as `None`.
Previously, they would raise a `TypeError` when calling with `None`
To post a comment you must log in.