'Deletes the request and all its responses from the flow state queue.'

def DeleteRequest(self, request):

    self.requests_to_delete.append(request)
    if (request and request.HasField('request')):
        self.DeQueueClientRequest(request.client_id, request.request.task_id)
    data_store.DB.DeleteRequest(request, token=self.token)
