code: def purge(self, queue, virtual_host='/'):
          
          virtual_host = quote(virtual_host, '')
          return self.http_client.delete(API_QUEUE_PURGE %
                                         (
                                             virtual_host,
                                             queue
                                         ))
docs: Purge a Queue.
  
          :param str queue: Queue name
          :param str virtual_host: Virtual host name
  
          :raises ApiError: Raises if the remote server encountered an error.
          :raises ApiConnectionError: Raises if there was a connectivity issue.
  
          :rtype: None