Deleting a property from an NDB Model on Google Cloud Datastore

Wed, 20 March 2019

demo.py
from lib.models.my_model import MyModel

single = MyModel.get_by_id(683754484735166)

if my_old_key in single._values:
    del single._values['my_old_key']

single.put()