ValueRule.to_python fails with empty Value field #351
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
An example:
The error is raised at
proto-plus-python/proto/marshal/rules/struct.py
Line 62 in 9270fe5
In the situation above,
absent
isFalse
, whilekind
isNone
.My expectation is that since protobuf allows the construction of empty Values, proto-plus should too. However, it is unclear to me what should be the return value of
to_python
in this case.The text was updated successfully, but these errors were encountered: