Saved Appengine model: boolean attributes interpreted as None #625
Labels
api: datastore
Issues related to the googleapis/python-ndb API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
With the fix for this closely-related issue in place, I was able to replicate another bug that I've been seeing while testing. The procedure to reproduce it looks very similar:
The latter failed with the following:
This is apparently because google-cloud-ndb interpreted the saved TestOuterModel as having null boolean values instead of
False
, as shown by theprint()
call:The text was updated successfully, but these errors were encountered: