def post(self): """Update the featured speaker.""" # Wait for eventual consistency to catch up, since new session was # just added. Since this is running on a task queue thread the wait # doesn't affect application responsiveness whatsoever. sleep(3) # Call the routine that performs the logic for updating the featured # speaker. ConferenceApi._updateFeaturedSpeaker( self.request.get('websafeSpeakerKey'), self.request.get('websafeConferenceKey'))
def post(self): """Update Featured Speaker in Memcache""" ConferenceApi._updateFeaturedSpeaker(self.request.get('speaker')) self.response.set_status(204)
def post(self): ConferenceApi._updateFeaturedSpeaker(self.request)
def post(self): """Update the featured speaker in Memcache.""" c = ConferenceApi() msg = c._updateFeaturedSpeaker(self.request.get('speaker'), self.request.get('conferenceKey')) self.response.set_status(204)
def post(self): """Update featured speaker in Memcache.""" ConferenceApi._updateFeaturedSpeaker(self.request.get('speaker'), self.request.get('conference'))
def post(self): """Set Featured Speaker in Memcache.""" ConferenceApi._updateFeaturedSpeaker(self.request.get('session_key')) self.response.set_status(204)
def post(self): """Check if speaker has multiple sessions during this conference. If so, add them to featured speaker list.""" ConferenceApi._updateFeaturedSpeaker(self.request.get('speaker'), self.request.get('conferenceKey'))
def post(self): """Update the features speaker.""" ConferenceApi._updateFeaturedSpeaker(self.request.get('websafeConferenceKey'), self.request.get('speaker')) self.response.set_status(204)
def post(self): """Updates featured speaker in memcache if necessary""" ConferenceApi._updateFeaturedSpeaker(self.request.get('websafeConferenceKey'), self.request.get('websafeSpeakerKeys')) self.response.set_status(204)