code: def pop(self, queue_name):
          
          queue = self._get_queue(queue_name)
          message = queue.read()
  
          if message:
              data = message.get_body()
              return data
docs: Pops a task off the queue.
  
          :param queue_name: The name of the queue. Usually handled by the
              ``Gator`` instance.
          :type queue_name: string
  
          :returns: The data for the task.
          :rtype: string