(first, second)
return results
Retrieve requested analysis results.

    :param first: analysis_id of first result.
    :type first: str
    :param second: analysis_id of second result.
    :type second: str
    :returns: Dictionary with first and second keys.
Retrieve requested analysis results.
Retrieve requested analysis results .
def get_diffie_results(first, second):
    """
    Retrieve requested analysis results.

    :param first: analysis_id of first result.
    :type first: str
    :param second: analysis_id of second result.
    :type second: str
    :returns: Dictionary with first and second keys.
    """

    results = {'success': False}

    first_result = AnalysisResult.objects(analysis_id=first).first()
    if not first_result:
        results['message'] = "Unable to find first result."
        return results

    second_result = AnalysisResult.objects(analysis_id=second).first()
    if not second_result:
        results['message'] = "Unable to find second result."
        return results

    results['success'] = True
    results['first'] = first_result
    results['second'] = second_result
    return results
def get_diffie_results ( first , second ) : results = { 'success' : False } first_result = AnalysisResult . objects ( analysis_id = first ) . first ( ) if not first_result : results [ 'message' ] = "Unable to find first result." return results second_result = AnalysisResult . objects ( analysis_id = second ) . first ( ) if not second_result : results [ 'message' ] = "Unable to find second result." return results results [ 'success' ] = True results [ 'first' ] = first_result results [ 'second' ] = second_result return results