So you are physically setting the 'None' object to your 'field_abc'. As per the documentation, this is indeed working as intended as you have provided it with a value. If you were to instead just perform* 'field_abc = ndb.IntegerProperty()' *where it is optional for this Entity property to have a value, querying for 'None' will produce undefined behavior.
Therefore it is suggested to always provide a default value for your Entity properties. You may want to have a look at existing Stack Overflow posts <https://stackoverflow.com/questions/13929283/how-to-test-for-unset-repeated-properties-in-ndb>covering this for more technical information. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ab6e3586-efff-4b1e-a407-de8c767cf15e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
