In a Python Google App Engine app I\'m writing, I have an entity stored in the datastore that I need to retrieve, make an exact copy of it (with the exception of the key), a
I'm neither Python nor AppEngine guru, but couldn't one dynamically get/set the properties?
props = {} for p in Thing.properties(): props[p] = getattr(old_thing, p) new_thing = Thing(**props).put()