This is Pete's Typepad Profile.
Join Typepad and start following Pete's activity
Join Now!
Already a member? Sign In
Recent Activity
A shorter but less generic way to do this is just to add a one-line property sync after the put() call: def tx(): # Mess with some other related objects in data store. # Must fetch a separate copy of self to avoid side effects. person = db.get(self.key()) person.count += 1 person.put() self.count = person.count
1 reply