Suppose I initially create an ndb.Model and wanted to change a field\'s ndb property type (e.g. IntegerProperty to StringProperty), but wanted to cast the current data store
Just adding to Tim's answer, if you want to change your property to Text, you can:
from google.appengine.api import datastore_types (...) for i in results: i['production_year'] = datastore_types.Text(i['production_year'])