def _put(self): """Saves the session and updates the memcache entry.""" memcache.set(self._key.id(), self.data) super(Session, self).put()