0

I have this code here: http://sprunge.us/TAjH?py

Why am I getting 10 instead of 1 (or what is in the DB)? Also, any new retrieved python object (as entity) has the very same ID (and maybe even memory address). Why that? How should I proceed in order to have different objects with the real value stored under the DB?

1 Answers1

0

Answered it here: How do I refresh an NDB entity from the datastore?

So the use_cache=False is the solution, while retrieving from the datastore.