code: def drop_all(self, queue_name):
          
          # This is very inefficient, but Beanstalk (as of v1.10) doesn't support
          # deleting an entire tube.
          queue_length = self.len(queue_name)
          self._only_watch_from(queue_name)
  
          for i in xrange(queue_length):
              job = self.conn.reserve(timeout=0)
  
              if job:
                  job.delete()
docs: Drops all the task in the queue.
  
          :param queue_name: The name of the queue. Usually handled by the
              ``Gator`` instance.
          :type queue_name: string