def to_dict(self):

        def encode_results(results):
            if not results:
                return []
            new_results = []
            for (data, failures) in results:
                new_failures = {}
                for (key, failure) in six.iteritems(failures):
                    new_failures[key] = failure.to_dict()
                new_results.append((data, new_failures))
            return new_results

        base = super(RetryDetail, self).to_dict()
        base['results'] = encode_results(base.get('results'))
        return base
Deletes the request and all its responses from the flow state queue.
dataset/ETHPy150Open openstack/taskflow/taskflow/persistence/models.py/RetryDetail.to_dict--crossover with--dataset/ETHPy150Open google/grr/grr/lib/queue_manager.py/QueueManager.DeleteFlowRequestStates